Skip to content

Kirby 3.7.5

$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