From e8e198141a95973aa05ef12f10c56a57270d30fd Mon Sep 17 00:00:00 2001 From: creme Date: Sun, 29 Mar 2020 23:46:12 +0200 Subject: [PATCH] signup: show help for openssh public key directly and not only as a notice. --- signup-handler.php | 3 +-- signup.php | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/signup-handler.php b/signup-handler.php index b6a0270..eb3e18c 100644 --- a/signup-handler.php +++ b/signup-handler.php @@ -104,8 +104,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { $sshkey = trim($_REQUEST["sshkey"]); if ($sshkey == "" || substr($sshkey, 0, 4) !== "ssh-") - $message .= "
  • ssh key required: please submit the public key.
    " - . "if you don't have a key, don't worry! check out our help page to ssh keys.
  • \n"; + $message .= "
  • ssh key required: please submit the public key.
  • \n"; else { if ($name != "" && $email != "") { if (forbidden_sshkey($sshkey)) { diff --git a/signup.php b/signup.php index 05c8e7e..0b39a9d 100644 --- a/signup.php +++ b/signup.php @@ -39,7 +39,8 @@ include 'header.php';

    -