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

Allow unknown properties on the JWT #139

Merged
merged 2 commits into from
May 12, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow unknown properties on the JWT
  • Loading branch information
ThomasKranitsas committed May 12, 2019
commit 77d0b2cddc479ae1be91a9f7c507b3572ce6668a
2 changes: 1 addition & 1 deletion src/services/ProjectService.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Project = models.Project;
const currentUserSchema = Joi.object().keys({
handle: Joi.string().required(),
roles: Joi.array().required(),
});
}).unknown(true);
const projectSchema = {
project: {
id: Joi.string().required(),
Expand Down