mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Expanded spelling of chars to characters
Fixes #834 - Updated error message for password length to use "characters" instead of "chars".
This commit is contained in:
parent
68a3f34530
commit
343ffb2915
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@
|
|||
|
||||
Ghost.Validate._errors = [];
|
||||
Ghost.Validate.check(newPassword, {message: 'Your new passwords do not match'}).equals(ne2Password);
|
||||
Ghost.Validate.check(newPassword, {message: 'Your password is not long enough. It must be at least 8 chars long.'}).len(8);
|
||||
Ghost.Validate.check(newPassword, {message: 'Your password is not long enough. It must be at least 8 characters long.'}).len(8);
|
||||
|
||||
if (Ghost.Validate._errors.length > 0) {
|
||||
Ghost.Validate.handleErrors();
|
||||
|
|
Loading…
Reference in a new issue