summaryrefslogtreecommitdiff
path: root/pages/account
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 /pages/account
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 'pages/account')
-rw-r--r--pages/account/14.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/pages/account/14.php b/pages/account/14.php
index 342ab46..29aeb21 100644
--- a/pages/account/14.php
+++ b/pages/account/14.php
@@ -15,6 +15,16 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ ?>
+<?
+ if (intval($_REQUEST['force']) === 1)
+{
+?>
+
+<p style="border:dotted 1px #900;padding:0.3em;bold;color:#ffffff;background-color:#ff0000;"><strong><center>
+<?=_("For your own security you should change your pass phrase immediately!"); ?></center></strong>
+</p>
+<?}?>
+
<form method="post" action="account.php">
<table align="center" valign="middle" border="0" cellspacing="0" cellpadding="0" class="wrapper" width="400">
<tr>