more cleanup

This commit is contained in:
Ubergeek 2019-07-13 12:13:02 -04:00
parent 251cbb17a0
commit 259e05fd00
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ if ( $tv != "tildeverse" ) {
die();
}
shell_exec("echo '$mailbody' | /usr/bin/mail -s 'New User Registration' $destination_addr ");
shell_exec("echo '$mailbody' | /usr/bin/mail -s '$subject' $destination_addr ");
// In the future, here, we *should* be able to build a process that
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here

View File

@ -10,7 +10,7 @@ $tv = $_GET['tv'];
$destination_addr = "ubergeek@thunix.net";
$subject = "New User Registration";
$mailbody ="A new user has tried to register.
$mailbody = "A new user has tried to register.
Username: $username
Real Name: $name
Email Address: $email
@ -23,7 +23,7 @@ if ( $tv != "tildeverse" ) {
die();
}
shell_exec("echo '$mailbody' | /usr/bin/mail -s 'New User Registration' $destination_addr ");
shell_exec("echo '$mailbody' | /usr/bin/mail -s '$subject' $destination_addr ");
// In the future, here, we *should* be able to build a process that
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here