From 6b465e8b03cbdc3029aad838db6d08bb1019b59b Mon Sep 17 00:00:00 2001 From: creme Date: Sun, 2 Feb 2020 10:52:59 +0100 Subject: [PATCH] remove double check for emtpy sshkey --- signup/signup-handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signup/signup-handler.php b/signup/signup-handler.php index ca974e9..119a11a 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -150,7 +150,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { . 'see our ssh wiki or ' . 'hop on irc and ask for help'; else { - if ($sshkey != "" && forbidden_sshkey($sshkey)) { + if (forbidden_sshkey($sshkey)) { $message .= "
  • your sshkey is banned!
  • \n"; add_ban_info($name, $email); }