Solving a login bug with redirections

This commit is contained in:
Zoe Roux 2020-04-12 21:53:17 +02:00
parent 042acce92c
commit e0c9b1f4d8
2 changed files with 0 additions and 2 deletions

View File

@ -39,7 +39,6 @@ export class AppComponent
this.isLoading = false;
break;
default:
this.isLoading = false;
break;
}
});

View File

@ -26,7 +26,6 @@ export class AuthService
{
this.getUser();
this.isAuthenticated = authorizationResult.authorizationState == AuthorizationState.authorized;
this.router.navigate(["/"]);
});
this.getUser();
}