Commit cf5eb549 authored by natrak's avatar natrak
Browse files

Fixed a typo causing the welcome mail not to be sent :)

parent 1359871c
......@@ -97,6 +97,7 @@ function makePassword($min_length=6) {
case "Register":
if ($rval = validateUser($new)) { newUser($new, "<B>Error: $rval</B>"); }
......@@ -111,7 +112,7 @@ function makePassword($min_length=6) {
} else {
$message = "Your $sitename member account has been created succesfully. To be able to use it you must login using the information below. Please save this mail for further reference.\n\n username: $new[userid]\n e-mail: $newu[email]\n password: $new[passwd]\n\nThis password is generated by a randomizer. It is recommended that you change this password immediately.\n\n$contact_signature";
$subject = "Account details for $sitename";
mail($email, $subject, $message, "From: $contact_email\nX-Mailer: PHP/" . phpversion());
mail($new[email], $subject, $message, "From: $contact_email\nX-Mailer: PHP/" . phpversion());
print("Your member account has been created and the details necessary to login have been sent to your e-mail account <B>$email</B>. Once you received the account confirmation, hit <A HREF=\"account.php\">this link</A> to login.");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment