Update auth-guard-base.ts (#6671)

This commit is contained in:
Eugenio Romano 2021-02-12 12:41:24 +00:00 committed by GitHub
parent 43ed8d7924
commit c00682213b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ export abstract class AuthGuardBase implements CanActivate, CanActivateChild {
return true;
}
protected async isLoginFragmentPresent(): Promise<boolean> {
protected isLoginFragmentPresent(): boolean {
return !!this.storageService.getItem('loginFragment');
}