$auth->track()
Tracks a login
$auth->track(string|null $email, bool $triggerHook = true): bool
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
stringornull |
no default value | ||
| $triggerHook | bool |
true
|
If false, no user.login:failed hook is triggered |
Return type
bool
This method modifies the existing $auth object it is applied to and returns it again.