From f409d9e5e865315d26ef37669d5de6a5ab5a90bc Mon Sep 17 00:00:00 2001 From: Djalim Simaila Date: Fri, 1 May 2026 19:07:37 +0200 Subject: [PATCH] refactor: add employeeOnly flag to mobility props and drop debug log --- routes/(apps)/mobility/(_props)/props.ts | 1 + routes/login.tsx | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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",