You are here

public function TfaTotp::deleteSeed in TFA Basic plugins 7

Delete users seeds.

Return value

int

File

includes/tfa_totp.inc, line 162
classes for tfa_totp

Class

TfaTotp
Class TfaTotp

Code

public function deleteSeed() {
  $query = db_delete('tfa_totp_seed')
    ->condition('uid', $this->context['uid']);
  return $query
    ->execute();
}