Skip to content

Kirby 4.4.1

$user->secret()

Reads a specific secret from the user secrets file on disk

$user->secret(string $key): mixed|null

Parameters

Name Type Default
$key * string

Return type

mixed|null

Parent class

Kirby\Cms\User