working #14

Merged
derek merged 2 commits from working into main 2025-07-31 18:37:03 -07:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 31708cdb15 - Show all commits
@@ -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");
}
}