From 0e90e781db22b1857f0fa4ec82ec2ea4692cde21 Mon Sep 17 00:00:00 2001 From: "Moxie \"The Cobra\" Widulski" Date: Sun, 28 Aug 2022 01:08:24 -0400 Subject: [PATCH] Update register.php Signed-off-by: Moxie "The Cobra" Widulski --- register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/register.php b/register.php index 035d10e..9a7604b 100644 --- a/register.php +++ b/register.php @@ -185,7 +185,7 @@ if ($use_xmpp) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " vern.cc\n"; if ($use_xmppo) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion\n"; if ($use_xmppi) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' ' . escapeshellarg($password0) . " verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p\n"; - $contents .= "s-nail -vr 'register@vern.cc' -c cobra@vern.cc -c neopenk@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 .= "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 . "\n"; @@ -203,6 +203,7 @@ $headers .= "Content-type: text/plain\n"; $headers .= "Cc: Moxie \n"; $headers .= "Cc: Neo \n"; + $headers .= "Cc: Arya \n"; mail($to, $subject, $message, $headers); }