angular2-hotkeys beyond this breaks with Angular 8.x
logout now works. Only the clientID does not work as of now
This commit is contained in:
1 parent
ae8c46084c
commit
cd764be49c
2 files changed
+2
-8
No files matched your search
@@ -13,13 +13,7 @@ export class LogoutComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.auth.logout().subscribe(
|
||||
(result) => {
|
||||
this.toaster.show('Success', 'Logged Out');
|
||||
this.router.navigateByUrl('/');
|
||||
},
|
||||
(error) => this.toaster.show('Danger', error.error)
|
||||
);
|
||||
this.auth.logout();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user