$userTotpEnableDialog->totp()
$userTotpEnableDialog->totp(string|null $secret = null): Kirby\Toolkit\Totp
Parameters
| Name | Type | Default |
|---|---|---|
| $secret | stringornull |
null
|
Return type
This method modifies the existing $usertotpenabledialog object it is applied to and returns it again.