Skip to content

Kirby 6.0.0

$passwordResetMethod->authenticate()

$passwordResetMethod->authenticate(string|null $email, string|null $password = null, bool $long = false): Status

Parameters

Name Type Default
$email stringornull no default value
$password stringornull null
$long bool false

Return type

Kirby\Auth\Status

Exceptions

Type Description
Kirby\Exception\InvalidArgumentException If the email is missing

Parent class

Kirby\Auth\Method\PasswordResetMethod