Add 403 error page and Polytech access control.
This commit is contained in:
@@ -3,12 +3,14 @@ import { AsyncRoute } from "$fresh/src/server/types.ts";
|
||||
|
||||
export interface AuthenticatedState {
|
||||
isAuthenticated: true;
|
||||
isFromPolytech: boolean;
|
||||
session: CasContent;
|
||||
availablePages: Record<string, string>;
|
||||
}
|
||||
|
||||
interface UnauthenticatedState {
|
||||
isAuthenticated: false;
|
||||
isFromPolytech: false;
|
||||
session: undefined;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user