Skip to content

Kirby 6.0.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 types

stringornull

Parent class

Kirby\Cms\Auth\Status