From aca1582e60dbed2f096771597a23430c099c316e Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sun, 4 May 2008 16:50:00 +0200 Subject: [PATCH] Be sure we refuse password with less than 6 characters. Signed-off-by: Florent Bruneau --- htdocs/javascript/xorg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.1.4