Problem/Motivation

With this module,
* add a redirection "on login for authenticated" (NOT on one-time-login)

When user needs then to use a one-time-login, they are redirected which makes it impossible for them to update their PW.

Proposed resolution

I suppose it's Password Separate Form which i use that triggers this problem.

It sends a link like /user/reset/11/1592150813/J_Yv81Dz2Pw7cpAUVfu8x7f7G5iY4ijxaB4nXTwwhZU/new/login and then redirects to the separate login update form user/*/change-password

I could figure out that we can make the modules play together by adding /user/reset/* to the path exception list (Redirect from specific pages > All pages except those listed). So we might want to document this here.

And...

Also i'd suggest adding something like this to the checkboxes "Redirect upon triggers" (register/login/onetimelogin):

Note that redirection may break one-time-login links. You can prevent this by adding suitable exceptions to the list of pages to redirect from

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geek-merlin created an issue. See original summary.

geek-merlin’s picture

Title: Breaks with Password Separate Form (change_pwd_page) on reset-password process » Document LoginDestination / Password Separate Form (change_pwd_page) config for reset-password process
gaurav.kapoor’s picture

Thanks for spotting this @geek-merlin. I think we should add this to the README file and start a new section of integrations with other modules as there are exceptions related to some other contributed modules as well.

gaurav.kapoor’s picture

Status: Active » Needs review
FileSize
1.42 KB

Added a patch for the requested changes.