Drupal is a registered trademark of Dries Buytaert
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)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

login_switch

968 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
11 months 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