diff --git a/signup/signup-handler.php b/signup/signup-handler.php index 119a11a..61993ad 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -150,9 +150,11 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { . 'see our ssh wiki or ' . 'hop on irc and ask for help'; else { - if (forbidden_sshkey($sshkey)) { - $message .= "
  • your sshkey is banned!
  • \n"; - add_ban_info($name, $email); + if ($name != "" && $email != "") { + if (forbidden_sshkey($sshkey)) { + $message .= "
  • your sshkey is banned!
  • \n"; + add_ban_info($name, $email); + } } }