From: Florent Bruneau Date: Sun, 4 May 2008 14:50:00 +0000 (+0200) Subject: Be sure we refuse password with less than 6 characters. X-Git-Tag: core/1.0.0~210 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=aca1582e60dbed2f096771597a23430c099c316e;p=platal.git Be sure we refuse password with less than 6 characters. Signed-off-by: Florent Bruneau --- diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 3506e52..cd6d253 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -320,7 +320,7 @@ function checkPassword(box) { prev = type; } if (pass.length < 6) { - prop *= 0.8; + prop *= 0.75; } if (prop > 100) { prop = 100;