You are here

public function TfaTrustedBrowser::submitForm in TFA Basic plugins 7

@copydoc TfaBasePlugin::submitForm()

Overrides TfaBasePlugin::submitForm

File

includes/tfa_trusted_browser.inc, line 68
classes for TFA basic plugin

Class

TfaTrustedBrowser
Class TfaTrustedBrowser

Code

public function submitForm(array $form, array &$form_state) {
  if (isset($form_state['values']['trust_browser']) && $form_state['values']['trust_browser']) {
    $this->trustBrowser = TRUE;
  }
  else {
    $this->trustBrowser = FALSE;
  }
}