public function TfaTotpSetup::__construct in TFA Basic plugins 7
@copydoc TfaBasePlugin::__construct()
Overrides TfaTotp::__construct
File
- includes/
tfa_totp.inc, line 188 - classes for tfa_totp
Class
- TfaTotpSetup
- Class TfaTotpSetup
Code
public function __construct(array $context) {
parent::__construct($context);
// Generate seed.
$this->seed = $this
->createSeed();
$this->namePrefix = variable_get('tfa_basic_name_prefix', variable_get('site_name', 'Drupal'));
}