summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-08-01 03:20:04 +0200
committerMichael Tänzer <neo@nhng.de>2011-08-01 03:20:04 +0200
commit4230707947899c893fda70cd9addd592580a477e (patch)
treeee53bebccdbecbfaa27a83e905f0b7c5953622d9 /www/index.php
parentd378e1f64b257c431f4f76986a123715e46ea888 (diff)
parente7368868ba88433956ad034fb7883d2dcd9566be (diff)
downloadcacert-devel-4230707947899c893fda70cd9addd592580a477e.tar.gz
cacert-devel-4230707947899c893fda70cd9addd592580a477e.tar.xz
cacert-devel-4230707947899c893fda70cd9addd592580a477e.zip
Merge branch 'bug-637' into release
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 13e8dc6..7330877 100644
--- 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