override isAuthorized for now while getting the new login system up and running

This commit is contained in:
Jacob Overgaard
2022-11-24 15:00:08 +01:00
parent 13c1a8d36a
commit 971a947492

View File

@@ -118,7 +118,8 @@ export class UmbApp extends UmbContextProviderMixin(LitElement) {
}
private _isAuthorized(): boolean {
return sessionStorage.getItem('is-authenticated') === 'true';
return true; // TODO: Return true for now, until new login page is up and running
//return sessionStorage.getItem('is-authenticated') === 'true';
}
private _isAuthorizedGuard(redirectTo?: string): Guard {