function MoAuthLoginSettings::processKBAQuestions in Google Authenticator / 2 Factor Authentication - 2FA 8.2
Process KBA questions before saving
Parameters
$questions:
Return value
string
1 call to MoAuthLoginSettings::processKBAQuestions()
- MoAuthLoginSettings::submitForm in src/
Form/ MoAuthLoginSettings.php - Form submission handler.
File
- src/
Form/ MoAuthLoginSettings.php, line 767 - Contains support form for miniOrange 2FA Login Module.
Class
- MoAuthLoginSettings
- Showing LoginSetting form info.
Namespace
Drupal\miniorange_2fa\FormCode
function processKBAQuestions($questions) {
$mo_kba_questions = trim($questions);
$mo_kba_questions = rtrim($mo_kba_questions, ";");
return $mo_kba_questions;
}