forked from Thunix/www
Add specific error page public key format
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user