mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36: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 |
||
---|---|---|
.. | ||
api | ||
model | ||
export_spec.js | ||
import_spec.js | ||
migration_spec.js | ||
update_check_spec.js |