Defect #13741
closedNot landing on home page on login after visiting lost password page
0%
Description
I'm not landing on the home page after login, when I've entered something at the "lost password"-page before.
How to reproduce:
1. Click on "login" link at the top or just go to www.domain.com/login
2. Click on "Lost password"
3. Enter anything (or a correct/existing email)
4. Click again on "login" link at the top
5. Enter now your user name and password and click on the login button to login
6. DEFECT : "forget password"-page is shown again, instead of home page
You can also reproduce this bug on www.redmine.org.
Files
Updated by Gregory Van der Steen almost 8 years ago
Defect is still present and reproducable in redmine 3.x.
After diving in the source code, it looks like the back_url is fetched from HTTP_REFERER and used to redirect to on successful login after password change.
Updated by Gregory Van der Steen almost 8 years ago
Defect is still present and reproducible in redmine 3.x.
After diving in the source code, it looks like the back_url is fetched from HTTP_REFERER and used to redirect to on successful login after password change.
edit
Patch added, so tracker can be changed from Defect to Patch by someone with the right permissions
Updated by Jean-Philippe Lang almost 8 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Patch committed, thanks.
Updated by Jean-Philippe Lang almost 8 years ago
- Subject changed from Not landing on home page after login to Not landing on home page on login after visiting lost password page