Skip to content

Kirby 4.2.0

$status->challenge()

Returns the type of the active challenge

$status->challenge(bool $automaticFallback = true): string|null

Parameters

Name Type Default Description
$automaticFallback bool true If set to false, no faked challenge is returned;
WARNING: never send the resulting null value to the
user to avoid leaking whether the pending user exists

Return type

string|null

Parent class

Kirby\Cms\Auth\Status