1
0
forked from Thunix/www

Add specific error page public key format

This commit is contained in:
Naglfar
2020-12-22 20:08:44 +01:00
parent 1dde4d4fc1
commit 278f561744
3 changed files with 4 additions and 2 deletions

View File

@@ -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);