Hi,

It appears that the module also redirects the user when coming from a password reset link with token. This prevents users from resetting their passwords unless they know their current password.

Marking this as major as it's affecting core functionality.

Comments

Baik Ho created an issue. See original summary.

baikho’s picture

Adding relevant issue in similar Redirect after login module

The module also seems to redirect on a per role basis, so we might just switch to that module. See also https://www.drupal.org/project/login_redirect_per_role/issues/3001161

baikho’s picture

Assigned: baikho » Unassigned
scott_euser’s picture

Version: 8.x-1.2 » 8.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new1.94 KB

Patch added covering full password reset process.

mortona2k’s picture

Status: Needs review » Reviewed & tested by the community

Thanks very much, this looks good to me.

It's simply checking the route and skips redirecting if it matches:

user.reset
user.reset.login
user.reset.form

  • Antonnavi committed f914275 on 8.x-1.x authored by scott_euser
    Issue #3033796 by scott_euser: Redirects should be ignored on Password...
antonnavi’s picture

Status: Reviewed & tested by the community » Fixed
pratik.mehta19’s picture

Status: Fixed » Closed (fixed)