forked from team/site
1
0
Fork 0

plaintext signup email

This commit is contained in:
Ben Harris 2018-06-11 18:38:16 -04:00
parent 878c49ba4f
commit 4b39f18723
1 changed files with 5 additions and 6 deletions

View File

@ -35,12 +35,11 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
if ($message == "") { // no validation errors
$msgbody = "<h1>tilde.team signup</h1>
<hr>
desired username: <strong>{$_REQUEST["username"]}</strong><br>
contact email: <strong><a href=\"mailto:{$_REQUEST["email"]}\">{$_REQUEST["email"]}</a></strong><br>
reason: <strong>{$_REQUEST["interest"]}</strong><br>
ssh key: <pre>{$_REQUEST["sshkey"]}</pre>";
$msgbody = "desired username: {$_REQUEST["username"]}</strong>
contact email: {$_REQUEST["email"]}
reason: {$_REQUEST["interest"]}
ssh key:
{$_REQUEST["sshkey"]}";
if (mail('ben', 'new tilde.team signup', $msgbody, "Reply-To: {$_REQUEST["email"]}")) {
echo '<div class="alert alert-success" role="alert">