Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 77d0b2c

Browse files
Allow unknown properties on the JWT
1 parent b091f99 commit 77d0b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProjectService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Project = models.Project;
2828
const currentUserSchema = Joi.object().keys({
2929
handle: Joi.string().required(),
3030
roles: Joi.array().required(),
31-
});
31+
}).unknown(true);
3232
const projectSchema = {
3333
project: {
3434
id: Joi.string().required(),

0 commit comments

Comments
 (0)