2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Merge pull request #842 from gotdibbs/Issue834

Expanded spelling of chars to characters
This commit is contained in:
Hannah Wolfe 2013-09-18 22:51:09 -07:00
commit 4023e55bc2

View file

@ -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();