mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
update includes/signup.php
This commit is contained in:
@@ -15,7 +15,7 @@ $username = strtolower($username);
|
|||||||
// strip new line characters from the end
|
// strip new line characters from the end
|
||||||
$pubkey = trim($pubkey);
|
$pubkey = trim($pubkey);
|
||||||
|
|
||||||
$from = 'From: www-data <www-data@thunix.net>';
|
$from = 'From: www-data <www-data@thunix.net>';
|
||||||
$destination_addr = "newuser@thunix.net";
|
$destination_addr = "newuser@thunix.net";
|
||||||
$subject = "New User Registration";
|
$subject = "New User Registration";
|
||||||
$mailbody = "A new user has tried to register.
|
$mailbody = "A new user has tried to register.
|
||||||
@@ -25,7 +25,7 @@ Email Address: $email
|
|||||||
Interest: $interest
|
Interest: $interest
|
||||||
Pubkey: $pubkey";
|
Pubkey: $pubkey";
|
||||||
|
|
||||||
// In the future, here, we *should* be able to build a process that
|
// 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
|
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here
|
||||||
|
|
||||||
$user_queue = '/dev/shm/userqueue';
|
$user_queue = '/dev/shm/userqueue';
|
||||||
@@ -36,7 +36,7 @@ if ( $tv == "tildeverse" )
|
|||||||
{
|
{
|
||||||
// Success!
|
// Success!
|
||||||
$success = 'success2';
|
$success = 'success2';
|
||||||
|
|
||||||
// Check if username already taken
|
// Check if username already taken
|
||||||
if (posix_getpwnam($username)) {
|
if (posix_getpwnam($username)) {
|
||||||
$success = 'success3';
|
$success = 'success3';
|
||||||
|
|||||||
Reference in New Issue
Block a user