This pertains to a "user" trigger using "TRIGGER: AFTER A USER HAS LOGGED IN" and a "redirect to URL" action. It affects a new password request, the email sent to the email address provided has a link in it for the user to click. When this link is clicked it opens a page with a login link, it's supposed to redirect to the reset password page. However, when this trigger is assigned, the link redirects to the page defined in the redirect and totally circumvents the password reset process.

As a test, the trigger was unassigned and a password reset request was made, the page (with the login link) launched from the link supplied in the email resolves to the reset password page as it should.

--------This is an addition. Forgot to mention the other issue, you can't log out.--------------

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

slipit’s picture

Issue summary: View changes
slipit’s picture

Issue summary: View changes
joachim’s picture

Title: Trigger "User Login Redirect" Causes Password Reset Link in Supplied Email to Redirect to Page Defined as the Redirect page. » Setting a redirect action on the "User Login" trigger makes it impossible to reset your password
Version: 7.38 » 7.x-dev
Priority: Major » Critical

Better title.
And setting to critical: crucial functionality is broken and I don't think there is any workaround.

pramod_patil’s picture

Assigned: Unassigned » pramod_patil
Status: Needs review » Needs work

I am able to reproduce the below scenario:
Scenario: "TRIGGER: AFTER A USER HAS LOGGED IN" : When user clicks on one time login button, it redirects to the specified page as mentioned in rule. However I can logout by clicking logout link.
Now I am working to fix this redirection.

pramod_patil’s picture

Assigned: pramod_patil » Unassigned
Status: Needs work » Needs review
FileSize
1.78 KB

Fixed the user redirection issue. Please review the patch.

Status: Needs review » Needs work

The last submitted patch, 5: trigger-user_redirect-2533936-5.patch, failed testing.

pramod_patil’s picture

Status: Needs work » Needs review
FileSize
12.32 KB

Fixed the user redirection issue and coding standard issues.

Status: Needs review » Needs work

The last submitted patch, 7: trigger-user_redirect_coding_std-2533936-7.patch, failed testing.

aerozeppelin’s picture

The last submitted patch, 9: test-only-fail-2533936-9.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 9: 2533936-9.patch, failed testing.

stephencamilo’s picture

Status: Needs work » Closed (won't fix)
hestenet’s picture

Status: Closed (won't fix) » Needs work

Reset issue status.