Skip to content

Kirby 6.0.0

TotpChallenge::isEnabled()

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

TotpChallenge::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\TotpChallenge inherited from Kirby\Auth\Challenge