Password Reset Doesn't Work

Created on 17 June 2022, about 2 years ago
Updated 9 January 2024, 6 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

RTBC

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