added username to sudoer signup mail
This commit is contained in:
parent
2f8d212c4e
commit
389e2ebf70
|
@ -25,7 +25,7 @@ we're available on IRC at <a href="ircs://irc.libera.chat:6697/tilde.cafe">#tild
|
|||
$nl="\r\n";
|
||||
$makeuser="makeuser ".$username." ".$email." \"".$sshkey."\"";
|
||||
$message="username: ".$username.$nl."email: ".$email.$nl."reason: ".$reason.$nl.$nl.$makeuser;
|
||||
$sent=mail("sudoers@tilde.cafe","new tilde.cafe signup",$message,"From: signup");
|
||||
$sent=mail("sudoers@tilde.cafe","new tilde.cafe signup: $username",$message,"From: signup");
|
||||
if($sent!=True){
|
||||
print("error: signup failed to send!");
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue