protected function TfaBasicRecoveryCodeSetup::generate in TFA Basic plugins 7
Overide TfaBasePlugin::generate().
Return value
string
Overrides TfaBasePlugin::generate
1 call to TfaBasicRecoveryCodeSetup::generate()
- TfaBasicRecoveryCodeSetup::generateCodes in includes/
tfa_recovery.inc - Generate recovery codes.
File
- includes/
tfa_recovery.inc, line 206 - class for TFA Basic
Class
- TfaBasicRecoveryCodeSetup
- Class TfaBasicRecoveryCode
Code
protected function generate() {
$code = $this
->generateBlock(3) . ' ' . $this
->generateBlock(2) . ' ' . $this
->generateBlock(3);
return $code;
}