c19c0d0880
Changed the hook from `beforeCreate` to `beforeSave` With `beforeCreate` the password will not be hashed if it is changed later |
||
---|---|---|
.. | ||
Hooks | ||
Token.js | ||
User.js |
c19c0d0880
Changed the hook from `beforeCreate` to `beforeSave` With `beforeCreate` the password will not be hashed if it is changed later |
||
---|---|---|
.. | ||
Hooks | ||
Token.js | ||
User.js |