dos2unix basically
Signed-off-by: Alex "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
3951c63c45
commit
f97c42d9f1
|
@ -12,6 +12,7 @@
|
|||
$str = trim($str);
|
||||
$str = stripslashes($str);
|
||||
$str = htmlspecialchars($str);
|
||||
$str = str_replace("\r", '', $str);
|
||||
return $str;
|
||||
}
|
||||
|
||||
|
@ -173,7 +174,7 @@
|
|||
$contents .= "s-nail -vr 'register@vern.cc' -c cobra@vern.cc -c neopenk@vern.cc -c aryak@vern.cc -s 'Your ~vern account has been created' -M text/plain " . escapeshellarg($email) . " < <(printf 'Hello %s,\\nYour membership request on ~vern has been accepted.\\nYou can now SSH into vern.cc using the public key(s) that you supplied to ~vern.\\nIf you signed up for Mastodon, a randomly generated password for the account will be in ~/mastodon-pass\\n\\nThank you for being a part of ~vern!' " . escapeshellarg($username) . ")\n";
|
||||
$contents .= "rm -f $0\n";
|
||||
$contents .= "exit\n\n\n";
|
||||
$contents .= $reason;
|
||||
$contents .= $reason . "\n";
|
||||
|
||||
$filename = "/var/tmp/register/" . $username;
|
||||
$handle = fopen($filename, "w+");
|
||||
|
|
Loading…
Reference in New Issue