You are here

protected function GALoginTotpValidation::deleteSeed in Google Authenticator login 8

Delete the seed of the current validated user.

File

src/Plugin/TfaValidation/GALoginTotpValidation.php, line 324

Class

GALoginTotpValidation
TOTP validation class for performing TOTP validation.

Namespace

Drupal\ga_login\Plugin\TfaValidation

Code

protected function deleteSeed() {
  $this
    ->deleteUserData('tfa', 'tfa_totp_seed', $this->uid, $this->userData);
}