diff options
author | gbmor <ben@gbmor.dev> | 2021-09-21 23:01:51 -0400 |
---|---|---|
committer | gbmor <ben@gbmor.dev> | 2021-09-21 23:01:51 -0400 |
commit | 6e35848f52cc408edc2955ef72a3a6186c62f76f (patch) | |
tree | c3d8e7823ffaac20f9cf942849529412b70826b2 /html | |
parent | 3a219f76507ed2f4ae75beb5fa0fafb968f60291 (diff) | |
download | site-6e35848f52cc408edc2955ef72a3a6186c62f76f.tar.gz |
i accidentally a parenthesis
Diffstat (limited to 'html')
-rwxr-xr-x | html/submit.php | 2 |
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>"; } |