Revision 850
Added by doc over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.1 ------------------------------------- |
14 |
29-June-2008 Christian Sommer |
|
15 |
! applied additional mail check to forgot login form |
|
14 | 16 |
28-June-2008 Christian Sommer |
15 | 17 |
! class and id attributes in mailto links are no longer ignored by the output filter |
16 | 18 |
22-Jun-2008 Thomas Hornik |
trunk/wb/account/forgot_form.php | ||
---|---|---|
32 | 32 |
$database = new database(); |
33 | 33 |
|
34 | 34 |
// Check if the user has already submitted the form, otherwise show it |
35 |
if(isset($_POST['email']) AND $_POST['email'] != "") {
|
|
36 |
|
|
35 |
if(isset($_POST['email']) && $_POST['email'] != "" &&
|
|
36 |
eregi("^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$", $_POST['email'])) { |
|
37 | 37 |
$email = strip_tags($_POST['email']); |
38 | 38 |
|
39 | 39 |
// Check if the email exists in the database |
Also available in: Unified diff
applied additional mail check to forgot login form