Problem/Motivation

This module is awesome! For our use case we want to build a clickable link that can be emailed on POST to /user/lost-password request that contains all the information needed to construct the body of the post to /user/lost-password-reset.

In order to add the email address to the URL, we need to url encode the email and make that available in a token.

Proposed resolution

Make a new token, user:mail-url-encode, to be made available in rest_password_mail_tokens().

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Eli-T created an issue. See original summary.

eli-t’s picture

Status: Active » Needs review

Merge request at https://git.drupalcode.org/issue/rest_password-3249158/-/merge_requests/...

Not sure why it's not showing against the issue.

eli-t’s picture

Uploading equivalent patch

eli-t’s picture

Merge !3 is the correct one, apologies for the noise!

  • Eli-T committed 6d6f61a on 9.x
    Issue #3249158: 🏷  Add additional token for URL encoded email address.
    
glynster’s picture

Status: Needs review » Fixed
glynster’s picture

Status: Fixed » Closed (fixed)