Skip to content

Kirby 6.0.0

$auth->isResettingPassword()

Checks if the currently logged in user was authenticated by a password reset challenge and may therefore set a new password without knowing the previous one

$auth->isResettingPassword(Session|array|null $session = null): bool

Parameters

Name Type Default
$session Kirby\Session\Sessionorarrayornull null

Return type

bool

Parent class

Kirby\Auth\Auth