diff options
author | Michael Tänzer <neo@nhng.de> | 2011-08-01 03:20:04 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2011-08-01 03:20:04 +0200 |
commit | 4230707947899c893fda70cd9addd592580a477e (patch) | |
tree | ee53bebccdbecbfaa27a83e905f0b7c5953622d9 /www/index.php | |
parent | d378e1f64b257c431f4f76986a123715e46ea888 (diff) | |
parent | e7368868ba88433956ad034fb7883d2dcd9566be (diff) | |
download | cacert-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.php | 2 |
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 |