diff options
author | INOPIAE <inopiae@cacert.org> | 2013-06-04 23:45:30 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2013-06-05 00:04:27 +0200 |
commit | 85c165f5c26c00b3b431ddc2861f65b4043ee806 (patch) | |
tree | 370a518a22f2732ba9863f566f6aa96779b52fcb | |
parent | 684e80685dca8d928a7e9a5b6001da4c7e1c6836 (diff) | |
download | cacert-devel-85c165f5c26c00b3b431ddc2861f65b4043ee806.tar.gz cacert-devel-85c165f5c26c00b3b431ddc2861f65b4043ee806.tar.xz cacert-devel-85c165f5c26c00b3b431ddc2861f65b4043ee806.zip |
bug 1137: Added new restrictions to the checks
-rw-r--r-- | www/wot.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/www/wot.php b/www/wot.php index 9d305ad..a470b96 100644 --- a/www/wot.php +++ b/www/wot.php @@ -167,6 +167,14 @@ function send_reminder() exit; } } + $query = "select * from `users` where `email`='".mysql_escape_string(stripslashes($_POST['email']))."' and `locked`=1"; + $res = mysql_query($query); + if(mysql_num_rows($res) >= 1) + { + $_SESSION['_config']['noemailfound'] = 0; + show_page("EnterEmail","",_("This account is locked and can not be assured. For more information ask support@cacert.org.")); + exit; + } } if($oldid == 5 || $oldid == 6) |