public static function MoAuthUtilities::isKbaConfigured in Google Authenticator / 2 Factor Authentication - 2FA 7
1 call to MoAuthUtilities::isKbaConfigured()
File
- classes/
Utilities.php, line 180 - This file is part of miniOrange 2FA module.
Class
- MoAuthUtilities
- @file This file is part of miniOrange 2FA module.
Code
public static function isKbaConfigured($user_configured_array) {
$kba_configured = 0;
$total = count($user_configured_array);
for ($i = 0; $i < $total; $i++) {
if ($user_configured_array[$i]['value'] == "KBA") {
$kba_configured = 1;
}
}
return $kba_configured;
}