Chris G 29 Posted November 21, 2012 Share Posted November 21, 2012 (edited) Hi, When the customer receives a password reset email and clicks the link in the email to confirm that their password should be reset a new window is opened: http://www.mysite.co...-recovery?token The customer now has two windows opened which I think could be confusing. I originally though I would modify the code to remove the confirmation email but now think it gives some additional protection. What I would like to do is: Customer requests password reset - http://www.mysite.co...ssword-recovery opened - password recovery email sent Customer clicks link in email to confirm reset - http://www.mysite.co...ssword-recovery shows message to say new passord has been sent. Customer can then return to the login page by clicking on 'back to login' I'm using version 1.4.9.0 The link in the email seems to be in PasswordController.php line 58 '{url}' => self::$link->getPageLink('password.php', true).'?token='.$customer->secure_key.'&id_customer='.(int)$customer->id), but I don't know why this would open a new page, unless its something to do with the token. Any help appreciated Regards Chris g Edited March 7, 2013 by Chris G 29 (see edit history) Link to comment Share on other sites More sharing options...
Chris G 29 Posted November 23, 2012 Author Share Posted November 23, 2012 I think that it's the browser that is causing a new window to be opened, so I need to re-think Link to comment Share on other sites More sharing options...
Chris G 29 Posted March 7, 2013 Author Share Posted March 7, 2013 OK as I can't find a way to stop this I've just added a mesage to ask the user to close the window as a new window will be opened from the email link. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now