Fix login errors

This commit is contained in:
derek committed 2025-07-31 18:36:44 -07:00
1 parent 50aadeeecf
commit 31708cdb15
2 files changed
+2 -2

No files matched your search

@@ -31,7 +31,7 @@ export class Authentication{
}
get isLoggedIn(): boolean {
return this._user.value.id != -1 ? true : false;
return this._user.value.id == null ? true : false;
}
get loggedInUser(): Account {
@@ -43,7 +43,7 @@ namespace BoredCareers.Controllers {
signOut();
return Redirect("/");
}
return NotFound();
return NotFound("Not logged in");
}
}