TemplatesUsers module
Users templates
Default templates the Users module renders, the controller that renders each one and what it receives. A file at the same path in your site repository replaces the platform's.
Templates view
users/login.html
Login
Process GET request. Show login form.
| Variable | Type | Description |
|---|---|---|
$user |
User |
Empty user model |
$localPasswordEnabled |
bool |
Is login via local password enabled? |
$enabledOAuthAuthenticators |
array |
List of enabled OAuth authenticators |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/users/login.html in your site repository.
users/profile.html
Profile
Process GET request (Show profile page)
| Variable | Type | Description |
|---|---|---|
$user |
User |
Logged in user |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/users/profile.html in your site repository.
users/register.html
Register
Handle GET request
| Variable | Type | Description |
|---|---|---|
$user |
User |
Empty user model filled with submitted data |
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/users/register.html in your site repository.
users/user-authenticators/index.html
UserAuthenticators\Index
Retrieve a list of records and assign them to the template.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/users/user-authenticators/index.html in your site repository.
users/user-o-auth-clients/index.html
UserOAuthClients\Index
Retrieve a list of records and assign them to the template.
Common variables such as $_url, $_request and $_menu are available too. Global template variables
Override it: create templates/users/user-o-auth-clients/index.html in your site repository.