Merge pull request #7651 from abpframework/mehmet-erim-patch-1

Removed home page redirection from logout method of the current-user.component
pull/7653/head
Mehmet Erim 5 years ago committed by GitHub
commit 7754283893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,9 +70,7 @@ export class CurrentUserComponent {
this.authService.initLogin();
}
logout() {
this.authService.logout().subscribe(() => {
this.router.navigate(['/'], { state: { redirectUrl: this.router.url } });
});
logout() {
this.authService.logout().subscribe();
}
}

Loading…
Cancel
Save