You are here

public function TfaTotpSetup::submitSetupForm in TFA Basic plugins 7

@copydoc TfaSetupPluginInterface::submitSetupForm()

Overrides TfaSetupPluginInterface::submitSetupForm

File

includes/tfa_totp.inc, line 271
classes for tfa_totp

Class

TfaTotpSetup
Class TfaTotpSetup

Code

public function submitSetupForm(array $form, array &$form_state) {

  // Write seed for user.
  $this
    ->storeSeed($this->seed);
  return TRUE;
}