i accidentally a parenthesis

This commit is contained in:
gbmor 2021-09-21 23:01:51 -04:00
parent 3a219f7650
commit 6e35848f52
1 changed files with 1 additions and 1 deletions

View File

@ -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>";
}