mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Solving a login bug with redirections
This commit is contained in:
parent
042acce92c
commit
e0c9b1f4d8
@ -39,7 +39,6 @@ export class AppComponent
|
|||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
this.isLoading = false;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -26,7 +26,6 @@ export class AuthService
|
|||||||
{
|
{
|
||||||
this.getUser();
|
this.getUser();
|
||||||
this.isAuthenticated = authorizationResult.authorizationState == AuthorizationState.authorized;
|
this.isAuthenticated = authorizationResult.authorizationState == AuthorizationState.authorized;
|
||||||
this.router.navigate(["/"]);
|
|
||||||
});
|
});
|
||||||
this.getUser();
|
this.getUser();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user