Skip to content

Commit 4e4b3e6

Browse files
committed
Apparently, there is an ancient test that says we should allow this. Keeping the middleware, but removing its invocation
1 parent 678c350 commit 4e4b3e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/controller/org.controller/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,6 @@ router.post('/org/:shortname/user',
14231423
.bail()
14241424
.customSanitizer(toUpperCaseArray)
14251425
.custom(isUserRole),
1426-
mw.rejectUnexpectedKeys(['username', 'active', 'org_uuid', 'uuid', 'name', 'authority']),
14271426
parseError,
14281427
parsePostParams,
14291428
controller.USER_CREATE_SINGLE)

0 commit comments

Comments
 (0)