diff --git a/en/register.php b/en/register.php index 4d6925b..6d0351d 100644 --- a/en/register.php +++ b/en/register.php @@ -203,6 +203,7 @@ if ($use_xmppo) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' "$password"' . " vernccvbvyi5qhfzyqengccj7lkove6bjot2xhh5kajhwvidqafczrad.onion\n"; if ($use_xmppi) $contents .= '~/bin/mkxuser ' . escapeshellarg($username) . ' "$password"' . " verncceu2kgz54wi7r5jatgmx2mqtsh3knxhiy4m5shescuqtqfa.b32.i2p\n"; $contents .= "s-nail -r 'register@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.\\nA global password for all the services you signed up to can be found at ~/pass. If you signed up for Mastodon, password for the account can be found at ~/mastodon-pass\\n\\nThank you for being a part of ~vern!' " . escapeshellarg($username) . ")\n"; + $contents .= "echo " . escapeshellarg($username . '@vern.cc') . " >> /var/spool/list\n"; $contents .= "echo " . escapeshellarg($email) . " >> /var/spool/list\n"; $contents .= "mv $0 /var/log/register/\n"; $contents .= "exit\n\n\n";