Change from bug-959 redone
authorBernhard Fröhlich <bernhard@cacert.org>
Tue, 2 Aug 2011 20:59:47 +0000 (22:59 +0200)
committerBernhard Fröhlich <bernhard@cacert.org>
Tue, 2 Aug 2011 20:59:47 +0000 (22:59 +0200)
www/index.php

index 23f3972..81a6782 100755 (executable)
                                $_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