diff options
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 e8fcd15..d778415 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-") { + 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>"; } |