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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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