diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-11-19 22:39:56 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-11-19 22:39:56 -0500 |
| commit | 9c4846681b13923046d0e2da837c6580a419e950 (patch) | |
| tree | ddb96638a71b6d9a03ae4f66f94ae9924634834f /StoneIsland/www/js/lib/auth/SignupView.js | |
| parent | e458c052238c5f5bebd33affc7e5750671beeb23 (diff) | |
fix divs and things
Diffstat (limited to 'StoneIsland/www/js/lib/auth/SignupView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/auth/SignupView.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/auth/SignupView.js b/StoneIsland/www/js/lib/auth/SignupView.js index 24eb0d09..28d828c3 100644 --- a/StoneIsland/www/js/lib/auth/SignupView.js +++ b/StoneIsland/www/js/lib/auth/SignupView.js @@ -32,6 +32,7 @@ var SignupView = FormView.extend({ }, validate_fields: function(errors){ + if (data.Password.length < 7) { errors.push("Password", "Password must be 7 characters or more.") } if (data.Password !== data.Password2) { errors.push("Password2", "Passwords don't match.") } if (data.Email !== data.ConfirmEmail) { errors.push("ConfirmEmail", "Email addresses don't match.") } if (! data.YooxLetter) { data.YooxLetter = "false" } |
