mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update login.page.ts
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user