mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05: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
ea9c50f49e
commit
4ff6162d79
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…
Add table
Reference in a new issue