public static function MoAuthUtilities::get_support_query_data in Google Authenticator / 2 Factor Authentication - 2FA 8
File
- src/
MoAuthUtilities.php, line 92 - This file is part of miniOrange 2FA module.
Class
Namespace
Drupal\miniorange_2faCode
public static function get_support_query_data($form, &$form_state) {
//clear all the messages
\Drupal::messenger()
->deleteAll();
$email = trim($form['miniorange_2fa_email_address_support']['#value']);
$phone = $form['miniorange_2fa_phone_number_support']['#value'];
$query = $form['miniorange_2fa_support_query_support']['#value'];
self::send_support_query($email, $phone, $query);
}