public function TfaBasicSms::begin in TFA Basic plugins 7
TFA process begin.
Overrides TfaSendPluginInterface::begin
1 method overrides TfaBasicSms::begin()
- TfaBasicSmsSetup::begin in includes/
tfa_sms.inc - TFA process begin.
File
- includes/
tfa_sms.inc, line 32
Class
Code
public function begin() {
if (!$this->code) {
$this->code = $this
->generate();
if (!$this
->sendCode($this->code)) {
drupal_set_message(t('Unable to deliver the code. Please contact support.'), 'error');
}
}
}