0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data
Aileen Nowak d4b6390fd6 Improved importer logic for password in users (#9161)
refs #9150

- move data manipulation for importing users from `importers/data/users` to `model/user` for more consistency (see behaviour of post imports)
- changed importing logic in `onSaving` fn for user model:
   - when importing, we set the password to a random uid and don't validate, just hash it and lock the user
   - when importing with `importPersistUser` we check if the password is a bcrypt hash already and fall back to normal behaviour if not (set random password, lock user, and hash password)
   - don't run validations when importing
2017-10-19 10:43:52 +01:00
..
db Debug: MySQL logging hook 2017-10-04 10:05:35 +01:00
export 🐛 Fix ghost update with migrations (#8810) 2017-08-01 17:27:13 +04:00
importer Improved importer logic for password in users (#9161) 2017-10-19 10:43:52 +01:00
meta Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
migrations Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
schema Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
slack 📖 replace any support.ghost.org link (#8555) 2017-06-08 20:34:20 +01:00
validation 🔥 🎨 Themes & settings misc cleanup (#8061) 2017-02-27 23:30:49 +01:00
xml Removed hardcoded url structures from RSS (#9113) 2017-10-09 16:08:53 +02:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00