cleas
cleas
https://github.com/strongloop/loopback-faq-user-management
I tried with loopback 2.18.0 => error is still there. looking at the source nothing changed to User.hashPassword and User.validatePassword. function User.validatePassword can throw exception , this exception is not...
The error in the `loopback-sandbox example` is now catched due to the changes in commit: https://github.com/strongloop/loopback-datasource-juggler/commit/21c0067462f48210f156bb043cb4076e979ff94d "Report deferred exceptions via callback" But still validatePassword exceptions are not caught in User.create...
Is this a database connector issue or a usage issue ? normally accessTokens are destroyed on logout or when trying to use an expired accessToken on a API call. (see...
The validate function is already implemented in accessToken. ```javascript User.afterRemote('login', function (ctx, token, next) { User.findById(token.userId,function(err,user){ if(!err && user) { var destroyedCount = 0; var validCount = 0; user.accessTokens(function (err,...