about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorgbmor <ben@gbmor.dev>2021-09-21 23:01:51 -0400
committergbmor <ben@gbmor.dev>2021-09-21 23:01:51 -0400
commit6e35848f52cc408edc2955ef72a3a6186c62f76f (patch)
treec3d8e7823ffaac20f9cf942849529412b70826b2
parent3a219f76507ed2f4ae75beb5fa0fafb968f60291 (diff)
downloadsite-6e35848f52cc408edc2955ef72a3a6186c62f76f.tar.gz
i accidentally a parenthesis
-rwxr-xr-xhtml/submit.php2
1 files changed, 1 insertions, 1 deletions
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 .= "<li>invalid email address. did you mean:  " . htmlspecialchars($result["email"]) . "</li>";
     }
 
-    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 .= "<li>ssh key required: please create one and submit the public key</li>";
     }