You are here

public function TfaTrustedBrowser::validateForm in Two-factor Authentication (TFA) 8

Validate form.

Parameters

array $form: The configuration form array.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

bool Whether form passes validation or not

Overrides TfaValidationInterface::validateForm

File

src/Plugin/TfaLogin/TfaTrustedBrowser.php, line 86

Class

TfaTrustedBrowser
Trusted browser validation class.

Namespace

Drupal\tfa\Plugin\TfaLogin

Code

public function validateForm(array $form, FormStateInterface $form_state) {
}