Skip to content

Kirby 6.0.0

$auth->track()

Tracks a login

Deprecated in 6.0.0
Use self::limits()->track() instead
$auth->track(string|null $email, bool $triggerHook = true): bool

Parameters

Name Type Default Description
$email stringornull no default value
$triggerHook bool true If false, no user.login:failed hook is triggered

Return type

bool

Parent class

Kirby\Auth\Auth