Forgot password request not linking to change password page

Created on 28 April 2022, about 2 years ago
Updated 28 April 2023, about 1 year ago

Problem/Motivation

When requesting a replacement login on the forgot password page, the link in the page is in the format /user/reset/{uid}/{timestamp}/{hash}/new and not the format /user/reset/{uid}/{timestamp}/{hash}/new/login, causing the page to not go towards the login page

Steps to reproduce

* Enable the password login page
* Go to the /user/password page and fill in one account (e.g. admin on default drupal installation)
* Follow the link in the mail sent

Proposed resolution

Split up the change_pwd_page.reset in change_pwd_page.routing.yml in a login and a non-login part, similar as https://git.drupalcode.org/project/drupal/-/blob/9.4.x/core/modules/user...

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇧🇪Belgium brentg Ghent

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024