The password reset/forgot password one-time link goes to the wrong destination when clicked from Gmail. However, when the link is copied and pasted onto the browser tab, it goes to the right location.
Example:
- one-time password link: https://myproject/user/reset/4/1643930438/iirHPI_7nRpDk6wMT0mPuHPQvLBAb6…
- upon clicking this link, the control goes to https://myproject/user/login?destination=user/reset/4 and this is the user login page.
- But the control should go to https://myproject/user/reset/4 This is happening only when we click the link.
It does not happen when the link is copy-pasted in the browser. Is there a way to fix this problem? Some kind of redirect???
Steps to Reproduce:
- Log out of your site
- Hit reset password/Forgot password link and enter your username
- You will receive a one-time login link to your email
- Click on the link and it will go to /user/login?destination=user/reset/4 but it should go to /user/reset/4
- This bug is clearly visible from Gmail. Does not happen on outlook.
Any help on this?!!