Be sure we refuse password with less than 6 characters.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 4 May 2008 14:50:00 +0000 (16:50 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 4 May 2008 14:50:00 +0000 (16:50 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
htdocs/javascript/xorg.js

index 3506e52..cd6d253 100644 (file)
@@ -320,7 +320,7 @@ function checkPassword(box) {
         prev = type;
     }
     if (pass.length < 6) {
-        prop *= 0.8;
+        prop *= 0.75;
     }
     if (prop > 100) {
         prop = 100;