Skip to content

Kirby 4.2.0

$auth->track()

Tracks a login

$auth->track(?string $email, bool $triggerHook = true): bool

Parameters

Name Type Default Description
$email * string|null
$triggerHook bool true If false, no user.login:failed hook is triggered

Return type

bool

Parent class

Kirby\Cms\Auth