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

Commit 7d751bf

Browse files
#87 - createdBy is an invalid value when using m2m tokens
1 parent 132948a commit 7d751bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ _.each(routes, (verbs, url) => {
5151
return next(errors.newAuthError('Action is not allowed for invalid token'))
5252
}
5353
req.auth = req.authUser
54-
req.auth.sub = req.auth.userId
5554
if (req.authUser.roles) {
5655
// all access are allowed
5756
if (_.isEmpty(access)) {

0 commit comments

Comments
 (0)