Module Description
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.
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.
Module Link
Project Usage
156
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module ensures a persistent destination parameter on user login and register pages.
Data Name
user_login_persistent_destination