Skip to content

Kirby 5.0.4

$userTotpEnableDialog->totp()

$userTotpEnableDialog->totp(string|null $secret = null): Kirby\Toolkit\Totp

Parameters

Name Type Default
$secret stringornull null

Return type

Kirby\Toolkit\Totp

This method modifies the existing $usertotpenabledialog object it is applied to and returns it again.

Parent class

Kirby\Panel\UserTotpEnableDialog