Ajout de param sur le redirect vers la page
de login
This commit is contained in:
@@ -41,6 +41,6 @@ export class AppComponent implements OnInit {
|
||||
logout() {
|
||||
this.authenticationService.logout();
|
||||
this.showMenu = !this.showMenu;
|
||||
this.router.navigate(["/login"]);
|
||||
this.router.navigate(["/login"], { skipLocationChange: true });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user