Redirect loop after user registration with email activation option enabled

Components

Labels

Description

I try the buy a product without being registered. I register and then click on link, that I received in email after registration. Then, once clicked on OK button on link from email, all website becomes unreachable, because of cookie redirection loop. I cannot display anymore anypage.

You should place product in shopping cart before registering to replicate.

Context Information

None

Additional information (do not use)

User registration mode is set to "Email Activation".

Fixing plan:
1. create empty event (for hooking): "u:OnAfterLogin"
2. change all "after hooks" to "u:OnLogin" event to newly created "u:OnAfterLogin" event
3. call "u:OnAfterLogin" event, after user has been successfully logged in via UserHelper class help

Attachments

2

Activity

Show:

Dmitry Andrejev March 30, 2011 at 2:53 PM

Closing, since 5.1.2 release has been released.

Alex February 15, 2011 at 4:53 PM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0000966: Redirect loop after user registration with email activation option enabled

Dmitry Andrejev February 9, 2011 at 8:46 PM

Sorry for the prev. issue - it was on my end.

It's all tested good. Please commit.

Dmitry Andrejev February 9, 2011 at 8:30 PM

Looks like patch is not properly working when I just want to do regular User Registration on the Front-End.

I have tries in all 3 browsers on Advanced theme (all modules installed). In all cases once Register button is clicked page just stays Loading... without a redirect to a next page as before the patch.

Fixed

Details

Priority

Assignee

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

External issue URL

Fix versions

Affects versions

Created January 12, 2011 at 4:52 PM
Updated December 29, 2024 at 11:35 PM
Resolved March 30, 2011 at 2:53 PM