Module Description
The Login Destination module allows you to customize the destination that a user is redirected to:
* after logging in,
* registering to the site,
* using a one-time login link,
* or logging out
The destination can be an internal page or an external URL.
It is possible to specify certain conditions like referring pages or user roles and make the destination depend upon them.
You may use PHP snippets to provide custom conditions and destinations. It is also possible to keep users on the currently visited page after logging in or out.
Drupal 8 and 9 Initial 8.x alpha and beta versions have been released. It has all the needed functionlaity and works reasonably well. The latest 8.x version should work on Drupal 9 too.
* after logging in,
* registering to the site,
* using a one-time login link,
* or logging out
The destination can be an internal page or an external URL.
It is possible to specify certain conditions like referring pages or user roles and make the destination depend upon them.
You may use PHP snippets to provide custom conditions and destinations. It is also possible to keep users on the currently visited page after logging in or out.
Drupal 8 and 9 Initial 8.x alpha and beta versions have been released. It has all the needed functionlaity and works reasonably well. The latest 8.x version should work on Drupal 9 too.
Module Link
Project Usage
30597
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Login Destination module customizes user redirection after login, registration, one-time login link usage, or logout based on specified conditions and destinations.
Data Name
login_destination