From 6e35848f52cc408edc2955ef72a3a6186c62f76f Mon Sep 17 00:00:00 2001 From: gbmor Date: Tue, 21 Sep 2021 23:01:51 -0400 Subject: [PATCH] i accidentally a parenthesis --- html/submit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/submit.php b/html/submit.php index d778415..84f9c2d 100755 --- a/html/submit.php +++ b/html/submit.php @@ -101,7 +101,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { $message .= "
  • invalid email address. did you mean: " . htmlspecialchars($result["email"]) . "
  • "; } - if ($_REQUEST["sshkey"] == "" || (substr($_REQUEST["sshkey"], 0, 4) !== "ssh-" && substr($_REQUEST["sshkey"], 0, 3) !== "sk-") { + if ($_REQUEST["sshkey"] == "" || (substr($_REQUEST["sshkey"], 0, 4) !== "ssh-" && substr($_REQUEST["sshkey"], 0, 3) !== "sk-")) { $message .= "
  • ssh key required: please create one and submit the public key
  • "; }