Skip to content

Commit

Permalink
fix: Authentication Plugins / plugin[method] is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
johannespfeiffer committed Jul 27, 2018
1 parent ca76fdf commit 0a3870e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Auth implements IAuth {
if (_.isFunction(plugin[method]) === false) {
method = 'add_user';
}
if (_.isFunction[method] === false) {
if (_.isFunction(plugin[method]) === false) {
next();
} else {
// p.add_user() execution
Expand Down

0 comments on commit 0a3870e

Please sign in to comment.