From 9c4846681b13923046d0e2da837c6580a419e950 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 19 Nov 2015 22:39:56 -0500 Subject: fix divs and things --- StoneIsland/www/js/lib/auth/SignupView.js | 1 + 1 file changed, 1 insertion(+) (limited to 'StoneIsland/www/js/lib/auth/SignupView.js') 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" } -- cgit v1.2.3-70-g09d2