Login Paths serves the user login form on one or more custom paths, such as /members/login and /staff/login, each with its own page title.
Features
- Several login paths, configured from the admin UI and exportable as configuration.
- Disable
/user/login: bots probing the default URL get a 404. The core login route moves to your first path, so the "Log in" menu link and every redirect to the login page keep working. - Disable the JSON login endpoint (
/user/login?_format=json) separately. - Redirect after login by role, with a default for everybody else. A
destinationparameter still takes precedence. - Theme per login path, or the Gin Login design automatically when that module is enabled.
- Lockout protection:
/user/logincannot be disabled until another login path exists.
Similar projects
- Rename Admin Paths renames
/userand/adminas a whole. Login Paths only touches the login page and lets you have several of them. - Login And Logout Redirect Per Role covers redirects only.
AI disclosure
This module was written with the help of an AI assistant. The maintainer reviewed, tested and is responsible for all of the code.
Requirements
Drupal 10.3 or 11. No other modules required.
Ask your assistant about Login Paths
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | PHP >=8.1 | Oct 15, 2026 |