Cannot log in via link in welcome / password reset e-mails

Created on 16 January 2023, almost 2 years ago
Updated 26 June 2023, over 1 year ago

Problem/Motivation

Trying to log in to the site via a password reset e-mail fails. It simply redirects back to the login page.

Steps to reproduce

  1. Enter username at `/user/password` page
  2. Click link in e-mail

Proposed resolution

Add the user.reset route to the list of protected routes, in addition to user.reset.login.

I can see that Drush prefers the `user.reset.login` route, but e-mail links generated through the [user:one-time-login-url] token via user_pass_reset_url() all use user.reset instead.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom grahamC Oxford, UK

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.71.5 2024