redirect to referer when changing password
When you click forgot password, you fill in your email address and get a link in your email.
Click the link in the email and a new browser opens where you can reset your password.
You reset the password and click ok, it says, succesfully resetted password you can now login.
I click the login link on my website and i login, works fine, but redirects me back to my referer (the reset was ok page) and it says the link has expired.
this happens when you use redirect mode referer of course.
It should not redirect back to this page. (exclude from redirection)
(issue imported from #M13207)