$useractions->changeTotp()
Changes the user's TOTP secret
$useractions->changeTotp(?string $secret): Kirby\Cms\UserActions
Parameters
| Name | Type | Default |
|---|---|---|
| $secret * | string|null |
– |
Return type
Kirby\Cms\UserActions
This method does not modify the existing $useractions object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Cms\UserActions