mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-07 03:22:21 +03: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 |
||
---|---|---|
.. | ||
functional | ||
integration | ||
unit | ||
utils | ||
.jshintrc |