mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -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
1dbe2a6a31
commit
fc261630ef
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@
|
||||||
|
|
||||||
Ghost.Validate._errors = [];
|
Ghost.Validate._errors = [];
|
||||||
Ghost.Validate.check(newPassword, {message: 'Your new passwords do not match'}).equals(ne2Password);
|
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) {
|
if (Ghost.Validate._errors.length > 0) {
|
||||||
Ghost.Validate.handleErrors();
|
Ghost.Validate.handleErrors();
|
||||||
|
|
Loading…
Add table
Reference in a new issue