refactor: add employeeOnly flag to mobility props and drop debug log
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user