|
|
@ -111,10 +111,8 @@ export class AuthPasswordFlowStrategy extends AuthFlowStrategy { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
async init() { |
|
|
async init() { |
|
|
this.oAuthService.events.subscribe(event => { |
|
|
this.oAuthService.events.pipe(filter(event => event.type === 'logout')).subscribe(() => { |
|
|
if (event.type === 'logout') { |
|
|
this.removeRememberMe(); |
|
|
this.removeRememberMe(); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
if (!getCookieValueByName('rememberMe') && localStorage.getItem(this.storageKey)) { |
|
|
if (!getCookieValueByName('rememberMe') && localStorage.getItem(this.storageKey)) { |
|
|
|