diff options
Diffstat (limited to 'StoneIsland/www/js/lib/account/ProfileView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/ProfileView.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/ProfileView.js b/StoneIsland/www/js/lib/account/ProfileView.js index 6d9a44a3..f03572dc 100644 --- a/StoneIsland/www/js/lib/account/ProfileView.js +++ b/StoneIsland/www/js/lib/account/ProfileView.js @@ -24,6 +24,7 @@ var ProfileView = FormView.extend({ validate_fields: function(errors){ if (data.Password && ! data.Password2) { errors.push("Password2", "Please enter your new password.") } + if (data.Password && data.Password.length < 7) { errors.push("Password", "Password must be 7 characters or more.") } }, success: function(data){ |
