Ghost/core/server/data/importer
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
..
handlers 🎨 refactor the importer (#8473) 2017-05-23 17:18:13 +01:00
importers Improved importer logic for password in users (#9161) 2017-10-19 10:43:52 +01:00
index.js Add ghost-backup client to trigger export (#8911) 2017-08-22 11:15:40 +01:00