summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorBernhard Fröhlich <bernhard@cacert.org>2011-08-02 22:59:47 +0200
committerBernhard Fröhlich <bernhard@cacert.org>2011-08-02 22:59:47 +0200
commit70febad558ab881d3ef15bfb2e955c7409a4a265 (patch)
treefb873af68da35e7ed5f64150c49ed10b00aa3ac4 /www
parent36e6d48f04d4fe4e4c222585bb8ef94944537196 (diff)
downloadcacert-devel-70febad558ab881d3ef15bfb2e955c7409a4a265.tar.gz
cacert-devel-70febad558ab881d3ef15bfb2e955c7409a4a265.tar.xz
cacert-devel-70febad558ab881d3ef15bfb2e955c7409a4a265.zip
Change from bug-959 redone
Diffstat (limited to 'www')
-rwxr-xr-xwww/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 23f3972..81a6782 100755
--- a/www/index.php
+++ b/www/index.php
@@ -332,6 +332,8 @@
$_SESSION['_config']['errmsg'] .= _("For your own security you must enter 5 lost password questions and answers.")."<br>";
$_SESSION['_config']['oldlocation'] = "account.php?id=13";
}
+ if (checkpwlight($pword) < 3)
+ $_SESSION['_config']['oldlocation'] = "account.php?id=14&force=1";
if($_SESSION['_config']['oldlocation'] != "")
header("location: https://".$_SERVER['HTTP_HOST']."/".$_SESSION['_config']['oldlocation']);
else