Skip to content

Kirby 5.0.4

$userActions->changeTotp()

Changes the user's TOTP secret

$userActions->changeTotp(string|null $secret): Kirby\Cms\UserActions

Parameters

Name Type Default
$secret stringornull no default value

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