Fix default SSO config not filled in (#3479)

This commit is contained in:
Maurizio Vitale
2018-06-13 12:49:52 +01:00
committed by Eugenio Romano
parent 928340f65b
commit 427b8737ee
2 changed files with 3 additions and 12 deletions

View File

@@ -242,7 +242,7 @@ export class UserPreferencesService {
if (this.storage.hasItem('authType')) {
return this.storage.getItem('authType');
} else {
return this.appConfig.get<string>('authType');
return this.appConfig.get<string>('authType', 'BASIC');
}
}