Checkpoint: Authentication

This commit is contained in:
aditya.chandel
2025-02-15 21:43:06 -07:00
parent e1685b2bf8
commit d3627a2d3f
25 changed files with 669 additions and 60 deletions
@@ -113,4 +113,9 @@ export class AppTopBarComponent implements OnDestroy {
navigateToSettings() {
this.router.navigate(['/settings']);
}
logout() {
localStorage.removeItem('token');
window.location.href = '/login';
}
}