refactor: add employeeOnly flag to mobility props and drop debug log

This commit is contained in:
2026-05-01 19:07:37 +02:00
parent c0aeb33193
commit f409d9e5e8
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ const properties: AppProperties = {
}, },
adminOnly: ["overview"], adminOnly: ["overview"],
studentOnly: ["my-mobility"], studentOnly: ["my-mobility"],
employeeOnly: true, // TODO Fix ma mobilité page, so it renders correctly for students
}; };
export default properties; export default properties;
-2
View File
@@ -45,8 +45,6 @@ function createUserJWT(casResponse: CasResponse): Promise<string> {
} }
}); });
console.log(fullUserInfos);
const now = Math.floor(Date.now() / 1000); const now = Math.floor(Date.now() / 1000);
const payload: LoginJWT = { const payload: LoginJWT = {
iss: "PolyMPR", iss: "PolyMPR",