Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

login_switch

950 sites Security covered
View on drupal.org

VERSION

Current Verson 3.1

INTRODUCTION

The Login Switch is a module that modifies Drupal's core user.login, user.register, user.password routes by changing the path to a custom path.

REQUIREMENTS

This module requires no modules outside of Drupal core.

INSTALLATION

Recommended installation: composer require drupal/login_switch.

Install the user login_switch module as you would normally install a contributed Drupal module.

Visit https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

There is a configuration page located at /admin/config/login_switch.

The route can be overridden in your settings file using the following: $config['login_switch.settings']['login_route'] = ''; $config['login_switch.settings']['register_route'] = ''; $config['login_switch.settings']['password_route'] = '';

You can turn on and off the module using the Disable Default User Login Route checkbox. Checked will override the default route with either /drupal/login or one custom set by you. Please remember to clear all caches for this to take effect.

New in 2.1 we added the ability to add a nofollow header for each of the routes.

TROUBLESHOOTING

If the route is not picked up immediately, clear your Drupal caches either at /admin/config/development/performance OR use the "drush cr" command

MAINTAINERS

Currently maintained by:

  • Matthew Sherman

Activity

Total releases
3
First release
Jan 2025
Latest release
1 year ago
Release cadence
50 days
Stability
67% stable

Release Timeline

Releases

Version Type Release date
3.1.1 Stable Apr 24, 2025
3.1.0 Stable Mar 26, 2025
3.x-dev Dev Jan 15, 2025