Skip to content

Kirby 6.0.0

$challenges->keepPending()

Puts the session into a generic pending state that is not bound to a specific user or challenge type. This is used as the anti-enumeration path so that a missing user cannot be observed, both when creating and when switching a challenge.

$challenges->keepPending(Session $session, string $email, string $mode): void

Parameters

Name Type Default
$sessionrequired Kirby\Session\Session no default value
$emailrequired string no default value
$moderequired string no default value

Parent class

Kirby\Auth\Challenges