Skip to content

Kirby 5.1.2

$auth->isBlocked()

Check if logins are blocked for the current ip or email

$auth->isBlocked(string $email): bool

Parameters

Name Type Default
$emailrequired string no default value

Return type

bool

This method modifies the existing $auth object it is applied to and returns it again.

Parent class

Kirby\Cms\Auth