Ghost/ghost/admin/tests/unit/models
Aileen Nowak 8f2dc2ff02 Match client-side password validation to new server-side rules (#899)
refs TryGhost/Ghost#9150

- added a new validator for password validations that will take care of the rules client side
- Passwort rules added:
   - Disallow obviously bad passwords: 1234567890, qwertyuiop, asdfghjkl; and asdfghjklm
   - Disallow passwords that contain the words "password" or "ghost"
   - Disallow passwords that match the user's email address
   - Disallow passwords that match the blog domain or blog title
   - Disallow passwords that include 50% or more of the same characters: 'aaaaaaaaaa', '1111111111' and 'ababababab' for example.
- When changing the own password, the old password is not affected by the new validations
- Validation are running on
   - setup
   - signup
   - password change in Team - User (only new passwords are validated)
   - passwort reset
2017-10-26 11:02:17 +01:00
..
invite-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
navigation-item-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
post-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
role-test.js Switched from ember-cli-shims to new module imports (#779) 2017-08-22 14:53:26 +07:00
setting-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
subscriber-test.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
tag-test.js deps: ember-source@2.12.0 2017-03-29 10:47:46 +01:00
user-test.js Match client-side password validation to new server-side rules (#899) 2017-10-26 11:02:17 +01:00