mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Update login.page.ts
This commit is contained in:
parent
649a19fc8f
commit
1a10cfe8fb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user