about summary refs log tree commit diff stats
path: root/html/submit.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/submit.php')
-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>";
     }