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.
Issue #3314925 by kalpaitch, LeoAlcci: Always redirects to current page when clicking on the login / logout link
Issue #3350782 by Daniel Kulbe: Missing ::label() implementation causes deprecation warning
Issue #3288368 by Project Update Bot, Rajab Natshah, prudloff, rsvelko, yashingole: Automated Drupal 10 compatibility fixes
Issue #3198752 by vipin.mittal18, larisse, rsvelko: No license specified
Issue #3249490 by gaurav.kapoor: Declare dependency in a correct way in the info.yml file and remove the unwanted core key
Issue #3245047 by weseze: LoginDestinationManager->findDestination() does not check for valid aliasses
Issue #3269290 by victoria-marina, darvanen, almador: Deprecated function: parse_url()
Issue #3172398 by ankithashetty: Fix Drupal Coding Standard Errors
Issue #3172398 by rsvelko: Fix Drupal Coding Standard Errors: fix 2 more warnings
Issue #3172394 by ankithashetty, rsvelko: \Drupal and t() calls should be avoided in classes, use dependency injection instead
Issue #3178518 by yas: Fix a type error of the argument 2 passed to Drupal\login_destination\Form\LoginDestinationRuleForm::__construct()
Adding the 8.x-2.x branch of the module - compatible with D8.8+ and D9.
We've decided to keep the 8.x-1.x branch of the module compatible with older drupal core versions - D8 below 8.8.
Changelog:
Issue #3087567 by Suresh Prabhu Parkala, gmangones, dakruchko, rsvelko: Drupal 9 Deprecated Code Report - fixed several deprecation warnings
Changes:
- Issue #3038968 by alienzed, rsvelko, MegaChriz: Language Aware Destination Rule - we've added a language field so you can redirect based on current language.
- Fixed error message when second argument in PHP snippet is not given.
- Issue #1398282 by robby. Changed no triggers to all triggers.
- Issue #1280358 by morningtime. Added "current" var to "user/login" links.
- Issue #1293480 by larskleiner. Fixed typoin access argument.
- Fixed current destination in case of 403 Forbidden.
- Fixed the evaluation of PHP snippet.
- Added README.
- Issue #1088078 by mithy. Added redirect to current page from login form.
- Fixed the evaluation of current path during logout.
- Issue #1128222 by mithy: Improved trigger description.
- Issue #1111992 by tmuras, mithy: Fixed now checking if post variable is set.
All functionality is already implemented. API is stable. All critical bug are fixed.
New features added to Login Destination in the 7.x beta version:
- Added logout redirects
- Added the possibility to redirect to the current page
- Fixed the redirect when logging via OpenID
All functionality is already implemented. API is stable. All critical bug are fixed.
Clear caches in order to make the logout functionality work properly.
New features added to Login Destination in the 7.x version:
- multiple redirect rules.
- redirect on register and one-time login link.
- possibility to redirect upon user role without coding PHP.
Fixed redirect conditions. Note that they were not functioning on previous versions so pelase check your redirect conditions entered in the admin because they will start functioning now and may produce unexpected results.
Fixed bug that was preventing the user object from loading before running the PHP snipper for the destination.
Fixed static page redirect bug and added support for wildcards in static paths.
Fixed redirect conditions. Note that they were not functioning on previous versions so please check your redirect conditions entered in the admin because they will start functioning now and may produce unexpected results.
Fixed bug that was preventing the user object from loading before running the PHP snippet for the destination.
Fixed static page redirect bug and added support for wildcards in static paths.
Fixed redirect conditions. Note that they were not functioning on previous versions so please check your redirect conditions entered in the admin because they will start functioning now and may produce unexpected results.
Fixed bug that was preventing the user object from loading before running the PHP snippet for the destination.
Fixed static page redirect bug and added support for wildcards in static paths.
NOTE: the upgrade will be seamless - no db schema in the module and no vars have been changed. The code has been near to rewritten. The only two things that need work are :
1. The login page on /user - it needs to be visited via a link that has "destination=/node/34" to work in the special return-me-back case . IMPORTANT: the /user page works fine in php/static modes.
2. The UI of the module can be better - use case oriented.
Every comment is welcome. You can check out the Donations Thread too.
#609482 by rsvelko: manually commited patch from there. TODO: re-read all module's code to avoid blind-patching.
by rsvelko: Shortened and clarified the README.txt. Also added a working example of the main return-to-last-page use case there. Removed junk from the .info file..
#509006, 459866 by rsvelko: bug - high - won't fix - does not redirect back on /user/login (block login works fine) solution - use "destination=" (see the module project page for a howto).
#405548 by rsvelko: feature - fixed - support - implemented - test if it works.
#455068 by rsvelko: feature - fixed - basic form validation to prevent users from accidentally using plain text mode fo php snippets and vice versa.
#190065 by rsvelko: feature - fixed - external http://example.com urls now possible - both in snippet and static-text mode.
#626788 by rsvelko: fixed- If login and not during an installation profile.
#599456 by rsvelko: bug - fixed - overrides system redirect for "one-time login" at user password recovery.
by rsvelko: added and then removed an inline snippets library fieldset into the admin UI. Better if it is in the project page..