Closed ghost closed 7 years ago
If you create a KuzzleUser without password, the plugin auth with local strategy crashes saying :
error: 2017-03-27T14:07:11+02:00 [LOG:ERROR] Cannot read property 'password' of undefined Cannot read property 'password' of undefined at context.accessors.users.load.then.userObject (/home/elastic/kuzzle/kuzzle/plugins/available/kuzzle-plugin-auth-passport-local/lib/passport/strategy.js:15:105)
This PR does :
If you create a KuzzleUser without password, the plugin auth with local strategy crashes saying :
This PR does :