You are here

public function CredentialsCheckFloodInterface::register in Commerce Core 8.2

Registers a new failed credentials check by the given user.

Parameters

string $ip: The client IP address.

string $name: The account name.

1 method overrides CredentialsCheckFloodInterface::register()
CredentialsCheckFlood::register in src/CredentialsCheckFlood.php
Registers a new failed credentials check by the given user.

File

src/CredentialsCheckFloodInterface.php, line 18

Class

CredentialsCheckFloodInterface
Provides a flood service tailored to login credential checks.

Namespace

Drupal\commerce

Code

public function register($ip, $name);