You are here

public function LoginFirewallInterface::execute in Restrict Login or Role Access by IP Address 8.4

Checks that login is allowed, and takes appropriate action if not.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user to check if login is allowed.

1 method overrides LoginFirewallInterface::execute()
LoginFirewall::execute in src/LoginFirewall.php
Checks that login is allowed, and takes appropriate action if not.

File

src/LoginFirewallInterface.php, line 31

Class

LoginFirewallInterface
Interface LoginFirewallInterface.

Namespace

Drupal\restrict_by_ip

Code

public function execute(AccountInterface $account);