feat: jwt auth

This commit is contained in:
eneller committed 2026-03-16 23:41:13 +01:00
1 parent fa2203927a
commit 7498afe074
10 files changed
+66 -41

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ export const authGuard: CanActivateFn = (route, state) => {
const api = inject(APIService);
const router = inject(Router);
//TODO check for cookie
return api.isAuthenticated$.pipe(
map((isAuthenticated) => {
if (isAuthenticated) {