Skip to content

Commit

Permalink
Update ep_ldapauth.js
Browse files Browse the repository at this point in the history
Authorization don't work because of logical wrong return value.

Closes tykeal#48.
  • Loading branch information
gjaekel authored Mar 27, 2021
1 parent 42cd54c commit b01a6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ep_ldapauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ exports.authorize = function(hook_name, context, cb) {
});
} else {
console.debug('ep_ldapauth.authorize: passing authorize along for path %s', context.resource);
return cb([false]);
return cb([true]);
}
};

Expand Down

0 comments on commit b01a6cf

Please sign in to comment.