This project is not covered by Drupal’s security advisory policy.
Login and return to the current page.
This module modifies the login links so that people return to the current page after logging in. This makes it more likely that people can immediately continue with what they were trying to do when they realized they had to sign in.
It uses JavaScript to set the destination parameter to the current page for any user/login links shown to non-authenticated (anonymous visitor) users.
Cons:
- Unlike as is possible with Login Destination it will not work if the visitor has JavaScript disabled (very rare).
- Also unlike Login Destination module, it does not work for registration (and probably never could as robustly).
Pros:
- No configuration necessary.
- Does not require that block caching of blocks with login links must be changed to have a different cache for every page.
See A person who signs in is returned to the page they were on when they used the login link in the Drutopia issue queue for discussion about the approaches.
Image credit: "U-turn only" by mag3737 is licensed under CC BY-NC-SA 2.0
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Administration tools, Site structure, Access control
- Created by mlncn on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


