$limits->isBlocked()
Checks whether the current visitor's IP or the given email has exceeded the allowed number of trials. The email is optional so that identity-unknown flows (e.g. passwordless passkey login) can still enforce the IP-based limit.
$limits->isBlocked(string|null $email = null): bool
Parameters
| Name | Type | Default |
|---|---|---|
stringornull |
null
|
Return type
bool