Whoops.. small bug, forgot to change the email that gets sent:)

3-00
natrak 2000-06-02 18:39:58 +00:00
parent 1b12175140
commit 1ccf830e82
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ switch ($act) {
print("Your password is: <B>$new[passwd]</B><BR>");
print("<A HREF=\"account.php?act=login&userid=$new[userid]&passwd=$new[passwd]\">Login</A> to change your personal settings.");
} 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: $uname\n e-mail: $email\n password: $pass\n\nThis password is generated by a randomizer. It is recommended that you change this password immediately.\n\n$contact_signature";
$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());
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.");