mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
Merge pull request #854 from johannespfeiffer/patch-1
fix: Authentication Plugins / plugin[method] is not a function (add_user method)
This commit is contained in:
commit
533ea45b70
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue