function _tfa_basic_full_setup_steps in TFA Basic plugins 7
Steps eligble for TFA Basic setup.
1 call to _tfa_basic_full_setup_steps()
- tfa_basic_setup_form in ./
tfa_basic.pages.inc - TFA setup form router.
File
- ./
tfa_basic.pages.inc, line 675
Code
function _tfa_basic_full_setup_steps() {
$steps = array();
$plugins = array(
'tfa_basic_totp',
'tfa_basic_sms',
'tfa_basic_trusted_browser',
'tfa_basic_recovery_code',
);
foreach ($plugins as $plugin) {
if ($plugin === variable_get('tfa_validate_plugin', '') || in_array($plugin, variable_get('tfa_fallback_plugins', array())) || in_array($plugin, variable_get('tfa_login_plugins', array()))) {
$steps[] = $plugin;
}
}
return $steps;
}