0
Fork 0
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:
William Dibbern 2013-09-18 21:51:56 -05:00
parent 1dbe2a6a31
commit fc261630ef

View file

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