$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(Kirby\Session\Session|array|null $session = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $session | Kirby\Session\Sessionorarrayornull |
null
|
Return type
bool
This method modifies the existing $auth object it is applied to and returns it again.