Revision 681
Added by doc almost 17 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
14 | 14 |
09-Feb-2008 Christian Sommer |
15 |
# fixed bug in user signup |
|
15 | 16 |
! output_filter: added word boundary for the mailto regex part |
16 | 17 |
09-Feb-2008 Thomas Hornwik |
17 | 18 |
! jsadmin: added latest changes from swen, fixes most (or all?) issues. |
trunk/wb/account/signup2.php | ||
---|---|---|
130 | 130 |
|
131 | 131 |
// Try sending the email |
132 | 132 |
if($wb->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) { |
133 |
$display_form = false; |
|
133 | 134 |
$wb->print_success($MESSAGE['FORGOT_PASS']['PASSWORD_RESET'], WB_URL.'/account/login.php'); |
134 |
$display_form = false; |
|
135 | 135 |
} else { |
136 |
$database->query("DELETE FROM ".TABLE_PREFIX."users WHERE username = '$username'"); |
|
136 | 137 |
$wb->print_error($MESSAGE['FORGOT_PASS']['CANNOT_EMAIL'], $js_back, false); |
137 |
$database->query("DELETE FROM ".TABLE_PREFIX."users WHERE username = '$username'"); |
|
138 | 138 |
} |
139 | 139 |
} |
140 | 140 |
|
Also available in: Unified diff
fixed bug in user signup