Add 403 error page and Polytech access control.

This commit is contained in:
2026-01-06 18:56:10 +01:00
parent cb89a45743
commit 7d7cdd1c9a
4 changed files with 45 additions and 9 deletions
+2
View File
@@ -3,11 +3,13 @@ import { AsyncRoute } from "$fresh/src/server/types.ts";
interface AuthenticatedState {
isAuthenticated: true;
isFromPolytech: boolean;
session: CasContent;
}
interface UnauthenticatedState {
isAuthenticated: false;
isFromPolytech: false;
session: undefined;
}