added correct logout to frontend

This commit is contained in:
u80864958
2025-04-30 17:07:37 +02:00
parent eed1718a7e
commit 8d30e53a91
3 changed files with 20 additions and 4 deletions

View File

@ -27,6 +27,6 @@ export class AppComponent {
this.loginOpen = !this.loginOpen;
}
logOut() {
this.auth.jwt.set(null);
this.auth.logout();
}
}