Update login.page.ts

This commit is contained in:
Eugenio Romano
2020-09-28 17:56:44 +01:00
committed by GitHub
parent 649a19fc8f
commit 1a10cfe8fb

View File

@@ -59,7 +59,7 @@ export class LoginPage {
const authType = await LocalStorageUtil.getConfigField('authType'); const authType = await LocalStorageUtil.getConfigField('authType');
const oauth: any = await LocalStorageUtil.getConfigField('oauth2'); const oauth: any = await LocalStorageUtil.getConfigField('oauth2');
if ((!authType || authType === 'OAUTH') && oauth?.implicitFlow) { if (!authType || authType === 'OAUTH') {
await this.loginSSOIdentityService(username, password); await this.loginSSOIdentityService(username, password);
} else { } else {
await this.loginBasicAuth(username, password); await this.loginBasicAuth(username, password);