diff --git a/articles/success4.md b/articles/success4.md new file mode 100644 index 0000000..78a2949 --- /dev/null +++ b/articles/success4.md @@ -0,0 +1,3 @@ +# Form Failure + +Please check SSH public key format. diff --git a/config.php b/config.php index eb9eafd..d71d6d2 100644 --- a/config.php +++ b/config.php @@ -3,7 +3,6 @@ $site_name="☣ thunix ☣"; //Root for the site, in a browser -//$site_root="https://dev.thunix.cf"; $site_root="https://".$_SERVER['HTTP_HOST']; //Local base root for app files $doc_root="/var/www/thunix.cf"; diff --git a/includes/signup.php b/includes/signup.php index 760ae4c..999ea08 100644 --- a/includes/signup.php +++ b/includes/signup.php @@ -38,7 +38,7 @@ if ( $tv == "tildeverse" ) // Check SSH public key format: exec("echo $pubkey | ssh-keygen -l -f - 2>&1", $null, $retval); if($retval != 0) - $success = 'success1'; + $success = 'success4'; if ( $success == "success2" ) mail($destination_addr, $subject, $mailbody, $from);