Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There are several other modules that attempt to perform a redirection upon user login, such as login_destination and total_control. These modules generally provide an option to not perform the redirection if the ?destination query param has been set.
I think that the one time login links generated by this module should use the destination paramater to determine where to redirect the user to, instead of additional URL arguments. This would make it play a lot better with other modules.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1127436-login_one_time-destination.patch | 1.22 KB | mrfelton |
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedComment #2
danielb CreditAttribution: danielb commentedI originally did it my way because "destination?=" looks a bit ugly, but if it has functional benefits when there is a conflict, then lets stick it in. Cheers. Will blame the ugly on core developers in the future.