Account login and logout
Login consist of a controller, a route and a template. You basically copy the template to your projects site-folder. As a with other pages like account, login won’t be visible amongst the pages in Kirby CMS.
The controller delivers a few variables to the template.
| Name | Type | Info |
|---|---|---|
| $mode | String |
Either login or verify. Mode persists. |
| $hasError | Boolean |
|
| $error | String |
|
| $errorState | String |
|
| $fieldError | String |
|
| $formData | String |