blogid) || 1 != $wpdb->blogid)) { // die("How did you get here?"); // return; // } if(!empty($_POST['tfa_enable_tfa']) && !empty($_GET['settings-updated'])) { $tfa->changeEnableTFA($current_user->ID, $_POST['tfa_enable_tfa']); $tfa_settings_saved = true; } elseif (!empty($_POST['tfa_algorithm_type']) && !empty($_GET['settings-updated'])) { $old_algorithm = $tfa->getUserAlgorithm($current_user->ID); if($old_algorithm != $_POST['tfa_algorithm_type']) { $tfa->changeUserAlgorithmTo($current_user->ID, $_POST['tfa_algorithm_type']); } $tfa_settings_saved = true; } if(isset($_GET['warning_button_clicked']) && $_GET['warning_button_clicked'] == 1) { delete_user_meta($current_user->ID, 'tfa_hotp_off_sync'); } ?>
".__('Settings saved.', SIMBA_TFA_TEXT_DOMAIN)."