Problem/Motivation

This a follow-up from #3264632: Support password reset UX which is no longer working, possibly due to a core update.

Steps to reproduce

Same as the previous ticket:

When a user login with one-time login token, then clicks around, this module redirects the user back to the profile page. However, because the one-time login token is not in the URL parameter anymore, the core AccountForm would require the user to type in the "Current password", which the user might not have. Therefore, the user cannot save the form, but request another one-time login token.

Proposed resolution

I'm currently using Drupal Core 9.5.2.

I've taken a quick look into why it doesn't work anymore and it looks like the pass_reset_UID is not in the $_SESSION.

Would it be better to check the URL query? This would have the "pass-reset-token". I can create a patch if this is the right approach.

Comments

joekers created an issue. See original summary.

  • cosolom committed 5d0d9d10 on 3.0.x
    Issue #3340514 by chehranov: preserve pass-reset-token across subscriber...
cosolom’s picture

Version: 2.0.0 » 3.0.x-dev
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.