added correct logout to frontend
This commit is contained in:
@ -27,6 +27,6 @@ export class AppComponent {
|
||||
this.loginOpen = !this.loginOpen;
|
||||
}
|
||||
logOut() {
|
||||
this.auth.jwt.set(null);
|
||||
this.auth.logout();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user