summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-04-19 23:39:14 +0200
committerMichael Tänzer <neo@nhng.de>2011-04-19 23:39:14 +0200
commit62f99b561a13e51e8f4d55a36092de536c531d99 (patch)
tree2bd78fd6308961e201b97670f0cf3834580bf0eb /www/index.php
parent325b123bdf5d6cc43cdbeeedd461a8f395fc1541 (diff)
downloadcacert-devel-62f99b561a13e51e8f4d55a36092de536c531d99.tar.gz
cacert-devel-62f99b561a13e51e8f4d55a36092de536c531d99.tar.xz
cacert-devel-62f99b561a13e51e8f4d55a36092de536c531d99.zip
#637: Force users to change their password if weak
#637: "Password suggestion always the same" Signed-off-by: Michael Tänzer <neo@nhng.de>
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 fb215c6..2634a47 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 ($pword === "Fr3d Sm|7h")
+ $_SESSION['_config']['oldlocation'] = "account.php?id=14&force=1";
if($_SESSION['_config']['oldlocation'] != "")
header("location: https://".$_SERVER['HTTP_HOST']."/".$_SESSION['_config']['oldlocation']);
else