diff --git a/routes/(apps)/mobility/(_props)/props.ts b/routes/(apps)/mobility/(_props)/props.ts index 3efac01..722acde 100644 --- a/routes/(apps)/mobility/(_props)/props.ts +++ b/routes/(apps)/mobility/(_props)/props.ts @@ -11,6 +11,7 @@ const properties: AppProperties = { }, adminOnly: ["overview"], studentOnly: ["my-mobility"], + employeeOnly: true, // TODO Fix ma mobilité page, so it renders correctly for students }; export default properties; diff --git a/routes/login.tsx b/routes/login.tsx index dd35867..3b1da1e 100644 --- a/routes/login.tsx +++ b/routes/login.tsx @@ -45,8 +45,6 @@ function createUserJWT(casResponse: CasResponse): Promise { } }); - console.log(fullUserInfos); - const now = Math.floor(Date.now() / 1000); const payload: LoginJWT = { iss: "PolyMPR",