Ajout de param sur le redirect vers la page

de login
This commit is contained in:
Sébastien André
2020-03-27 10:16:32 +01:00
parent 9d0c5fbfb1
commit 40e894acba
2 changed files with 5 additions and 2 deletions

View File

@@ -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 });
}
}