From 259e05fd005fc03bd6b1ab03cb0a167c4aa5edf8 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Sat, 13 Jul 2019 12:13:02 -0400 Subject: [PATCH] more cleanup --- includes/contact.php | 2 +- includes/signup.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/contact.php b/includes/contact.php index 5867b1a..744ce91 100644 --- a/includes/contact.php +++ b/includes/contact.php @@ -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 diff --git a/includes/signup.php b/includes/signup.php index d723efd..f8f2030 100644 --- a/includes/signup.php +++ b/includes/signup.php @@ -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