mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
ca7b5643d5
* 🎨 do not call generateSlug twice for User.setup * 🎨 call generatePasswordHash onSaving only - now we can add defaults to User Model - it was not possible before because add User model did the following: 1. validate password length 2. hash password manually 3. call ghostBookshelf.Model.add and THEN bookshelf defaults fn gets triggered - call generatePasswordHash in onSaving hook for all use case - add more tests to user model, juhu |
||
---|---|---|
.. | ||
index.js | ||
listeners.js | ||
token.js | ||
utils.js |