Skip to content

Kirby 4.2.0

$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