After I installed this module, all the redirects stopped working on my drupal site.

Configuration is:
- Preserve destination No
- Static url (node)
- Redirect Always

With this enabled all redirects via ?destination=... stopped working. I don't think this should happen. All I wanted is to force a redirect to "node" after login.

The attached patch fixes this by moving 3 lines of code to where they belong, inside the ($op == 'login') block.

CommentFileSizeAuthor
login_destination_fix_redirect.patch771 bytesblack silence

Comments

lyricnz’s picture

I have exactly this issue, and came up with the same fix. Damnit, what a waste of time!

lyricnz’s picture

Status: Active » Needs review

Works for me

robotjox’s picture

thanks a lot - works for me

rsvelko’s picture

Status: Needs review » Closed (duplicate)

this patch has been applied in 2.5. test if works - this is a duplicate issue.