mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01: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
@ -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…
Reference in New Issue
Block a user