Skip to content

Kirby 6.0.0

Challenge::isEnabled()

Checks whether the challenge is generally enabled on this site. Static, as it is checked without a user (e.g. for guests).

Challenge::isEnabled(Auth $auth, string $type, array $options = []): bool

Parameters

Name Type Default
$authrequired Kirby\Auth\Auth no default value
$typerequired string no default value
$options array []

Return type

bool

Parent class

Kirby\Auth\Challenge