Password Reset Doesn't Work

Created on 17 June 2022, over 2 years ago
Updated 11 August 2024, 4 months ago

Problem/Motivation

When this module is installed, you are unable to reset your password as the redirect takes priority.

Steps to reproduce

  1. Enable module
  2. Set redirection path for your user type
  3. Log out
  4. Trigger a password reset
  5. Follow link in the email and try to reset password.

Proposed resolution

In Drupal 7, I used rules for this and included the PHP code as follows. Not sure if this will work for Drupal 9?

if (arg(0) == 'user' && arg(1) == 'reset') {

return false;

} else {

return true;

}

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom heather oliver

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