$codeMethod->authenticate()
$codeMethod->authenticate(string|null $email, string|null $password = null, bool $long = false): Status
Parameters
| Name | Type | Default |
|---|---|---|
stringornull |
no default value | |
| $password | stringornull |
null
|
| $long | bool |
false
|
Return type
Exceptions
| Type | Description |
|---|---|
Kirby\Exception\InvalidArgumentException |
If the email is missing |