This tiny module ensures a persistent destination parameter on user login and register pages.
Given the following use case:
You redirect anonymous users to the login page, when they try to access a page they are not authorized to view and add the "destination" query argument in order to send them back to that page after successful login, e.g. www.example.com/user/login?destination=my-secret-page.
That only works well, as long the user only really immediately logs in. If he/she needs to register first and follows the register link in the local tasks, the destination parameter gets lost (www.example.com/user/register).
This module will alter the local task links on the user login page (that are usually login, register and password reset) and preserves the "destination" parameter, if present.
Credits
The module was originally developed and is currently
maintained by Mag. Andreas Mayr.
All initial development was sponsored by agoraDesign KG.
Ask your assistant about User Login Persistent Destination
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 2.0.2 | Stable | 9–11 | Nov 2, 2026 |