Skip to content

Kirby 6.0.0

$challenges->fallback()

Returns the challenge type for a pending session without a challenge: the one a user without secrets would get

$challenges->fallback(string $email, string $mode): string|null

Parameters

Name Type Default
$emailrequired string no default value
$moderequired string no default value

Return types

stringornull

Parent class

Kirby\Auth\Challenges