Skip to content

Kirby 6.0.0

$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
$email stringornull null

Return type

bool

Parent class

Kirby\Auth\Limits