Login form with Tenant dropdown menu

This commit is contained in:
Jose Alberto Hernandez
2022-11-29 22:18:54 -06:00
parent 8f1c17acdf
commit 7275ba8dda
25 changed files with 189 additions and 20 deletions
+3
View File
@@ -150,6 +150,9 @@ export class WebAppComponent implements OnInit {
this.settingsService.setBusinessDate(this.dateUtils.formatDate(new Date(), SettingsService.businessDateFormat));
// Set the server list from the env var FINERACT_API_URLS
this.settingsService.setServers(environment.baseApiUrls.split(','));
// Set the Tenant Identifier(s) list from the env var
this.settingsService.setTenantIdentifier(environment.fineractPlatformTenantId || 'default');
this.settingsService.setTenantIdentifiers(environment.fineractPlatformTenantIds.split(','));
}
logout() {