I think this problem may be causing some confusion.
If you enter a CORRECT email address to reset your password you get a message to say :
"A new password has been sent to the email address you entered.
Click "login" below to login with the new temporary password."
This is highlighted in green.
However, if you send it to an INCORRECT address you get the SAME message but highlighted in red.
So the colour changes depending on the class, but it is using the same message.
So you think the mail has gone but it hasn't. I guess there should also be a 'try again' button.
The problem is in password_forgotten.php at Line 46
Code:
$email_message = MESSAGE_PASSWORD_SENT;
This is the same as 66 but I think it should be as follows :
Code:
$email_message = ERROR_WRONG_EMAIL;
Patch as below (assuming you haven't renamed your admin folder)
B. Rgds
John
### Patch
#P ZenCart
Index: admin/password_forgotten.php
===================================================================
--- admin/password_forgotten.php (revision 77)
+++ admin/password_forgotten.php (working copy)
@@ -43,7 +43,7 @@
if (! ($admin_email == $result->fields['admin_email']))
{
$error = true;
- $email_message = MESSAGE_PASSWORD_SENT;
+ $email_message = ERROR_WRONG_EMAIL;
}
// BEGIN SLAM PREVENTION
if ($_POST['admin_email'] != '')
Bookmarks