/* Decoded by unphp.net */ get_user_detail("mo_2factor_user_registration_status", $current_user->ID); echo " \x9 "; echo __("For Roles", "miniorange-2-factor-authentication"); echo "  \xa\x9 \x9 \x9 "; echo __("Select Users", "miniorange-2-factor-authentication"); echo "

\x9\x9
\x9 "; global $wp_roles; if (isset($wp_roles)) { goto kYQ; } $wp_roles = new WP_Roles(); kYQ: print "
Roles
" . __("Custom Redirect Login Url", "miniorange-2-factor-authentication") . "


"; foreach ($wp_roles->role_names as $IZ => $Wg) { $a1p = get_site_option("mo2fa_" . $IZ); echo " \x9\x9
"; echo $Wg; echo "\x9 \x9\xa\x9\x9
\x9\x9
"; TFh: } Z2i: $a1p = get_site_option("mo2fa_superadmin"); if (!(is_super_admin($current_user->ID) && is_multisite())) { goto ele; } echo "\x9
Super Admin \x9\x9\xa\x9 \x9

\xa\x9\x9"; ele: echo "\x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Selecting the above roles will enable 2-Factor for all users associated with that role.Users of the selected role who have not setup their 2-Factor will be able to setup 2 factor during inline registration.", "miniorange-2-factor-authentication"); echo "
\x9
\xa\x9 "; print "
"; $jB = admin_url(); echo "
\xa\x9\x9
\x9\x9 "; echo __("Click Here to enable Authentication for users", "miniorange-2-factor-authentication"); echo " \x9

\xa \x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("For Select Users option you will redirected to WordPress Users Page. You can select the users and apply Bulk Actions to apply or remove Two Factor for users", "miniorange-2-factor-authentication"); echo "
\xa
\xa\x9 \x9\x9

"; echo __("Configure 2FA method for users", "miniorange-2-factor-authentication"); echo "


\xa \x9

"; echo __("Click on the button to configure 2FA method for a particular user by editing the profile of the user.", "miniorange-2-factor-authentication"); echo "

"; echo __("Configure 2FA method for users", "miniorange-2-factor-authentication"); echo "\xa\x9\x9

\xa\x9\xa\x9\x9

\xa\x9 "; if (!MoWpnsUtility::mo2f_new_plan_mem_bus()) { goto JQp; } echo __("Enable Custom Redirect Url", "miniorange-2-factor-authentication"); echo "\x9


\xa\x9\x9

"; echo __("Enable option will redirect users after successful login to the rediect URL. Disable option will disable the redirection to custom URL.", "miniorange-2-factor-authentication"); echo "

\xa\x9 \x9 \xa\x9 \x9\x9 "; echo __("Enable", "miniorange-2-factor-authentication"); echo "   \xa\x9\x9 \x9 "; echo __("Disable", "miniorange-2-factor-authentication"); echo " \xa\x9\x9

\x9\x9\x9"; JQp: miniorange_2_factor_select_method_user_roles($current_user); echo "\x9 \xa\x9\x9 "; } function miniorange_2_factor_select_method_user_roles($current_user) { $aA = fetch_methods($current_user); global $aq; $yH = $aq->get_user_detail("user_registration_with_miniorange", $current_user->ID) == "SUCCESS" ? true : false; echo " \x9

"; echo __("Select the specific set of authentication methods for your users.", "miniorange-2-factor-authentication"); echo "


\xa \x9 "; echo __("For all Users", "miniorange-2-factor-authentication"); echo "   \xa\x9 "; echo __("Specific Roles", "miniorange-2-factor-authentication"); echo "\x9\x9

\x9\x9 \x9\x9\xa \x9\x9 \x9 \x9\x9\x9\xa \x9\x9 \xa \x9\xa \xa \x9 \x9 \x9\x9\x9\x9 "; if (!MoWpnsUtility::mo2f_new_plan_ecom_bus_mem()) { goto aoA; } echo "\x9\x9 \x9 \x9 "; aoA: echo " \x9\x9 \xa \x9 "; if (MO2F_IS_ONPREM) { goto sXX; } echo "\x9 \x9 \xa \x9\x9 \x9 \x9 \x9\xa \x9\x9 \xa \x9 \xa\x9 "; sXX: echo "\x9\x9 \xa \x9 \x9\xa \x9
\xa \x9 \x9 Email Verification   \x9 \x9Google Authenticator   \x9\x9 \xa \x9\x9\x9Security Questions (KBA)   \x9 \x9
\xa\x9\x9\x9\x9\x9"; echo __("OTP Over Email", "miniorange-2-factor-authentication"); echo "  \xa \x9\x9\x9 \x9\x9\x9"; echo __("OTP Over SMS", "miniorange-2-factor-authentication"); echo "   \x9\x9 \xa \x9"; echo __("OTP Over Telegram", "miniorange-2-factor-authentication"); echo "  \xa\x9 \xa \x9 Soft Token   \x9\x9
\xa QR Code Authentication   \x9\x9 \x9 \x9 Push Notifications   \x9
\x9 \x9\x9"; $aA = (array) MoWpnsUtility::get_mo2f_db_option("mo2f_auth_methods_for_users", "site_option"); $vvy = array(); $aPh = array(); global $wp_roles; if (isset($wp_roles)) { goto oiQ; } $wp_roles = new WP_Roles(); oiQ: foreach ($wp_roles->role_names as $IZ => $Wg) { $vvy[$IZ] = get_site_option("mo2f_auth_methods_for_" . $IZ); if (!empty($vvy[$IZ])) { goto jFq; } $vvy[$IZ] = array("No Two Factor Selected"); jFq: echo " \x9 \xa\x9\x9\x9 \xa\x9\x9 "; echo $Wg; echo "\xa\x9\x9 "; o6w: } bTX: echo "\x9

\xa "; global $wp_roles; if (isset($wp_roles)) { goto bk8; } $wp_roles = new WP_Roles(); bk8: print "
"; foreach ($wp_roles->role_names as $IZ => $Wg) { $a1p = get_site_option("mo2fa_" . $IZ); $aPh = $vvy[$IZ]; echo " \xa\x9 \x9 \xa\x9\x9\x9\x9 \xa\x9\x9 \xa\x9 \x9\x9 \xa\x9\x9 \x9 \x9\x9 \x9\x9 \x9\xa\x9 \x9\x9\x9\xa\x9\x9\x9\x9\x9\xa \x9"; if (MO2F_IS_ONPREM) { goto kIE; } echo "\x9\x9 \x9\x9\xa \xa \x9\x9\xa \x9 \x9\x9 \xa\x9 \x9\x9"; kIE: echo " \x9 \x9 \x9\x9\x9\x9\xa \x9 \xa\x9 \x9\x9\xa "; Q0g: } qKM: print "
"; echo " "; } echo "
\x9"; if ($yH) { goto WZR; } echo " \x9\x9 \x9
\x9 \x9
"; echo __("Please go to User Profile tab and", "miniorange-2-factor-authentication"); echo "\x9\x9 \x9\x9\x9\x9"; echo __("Login with your miniOrange account", "miniorange-2-factor-authentication"); echo " "; echo __("to configure the miniOrange 2 Factor plugin.", "miniorange-2-factor-authentication"); echo " \x9 \x9\x9
\xa\x9 "; WZR: echo "\x9
\x9 \x9\x9\xa\x9\x9\x9\x9\xa

"; echo __(" Select Roles to enable 2-Factor", "miniorange-2-factor-authentication"); echo "\x9 \x9

\xa \x9\x9\x9

\x9\x9 "; echo miniorange_2_factor_user_roles_login_settings($current_user); echo "\x9 \x9\x9\xa \x9\x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("You can select which Two Factor methods you want to enable for your users. By default all Two Factor methods are enabled for all users of the role you have selected above.", "miniorange-2-factor-authentication"); echo "
\x9 \x9
\xa \x9

"; echo __("Invoke Inline Registration to setup 2nd factor for users.", "miniorange-2-factor-authentication"); echo "



\x9\x9
\xa \x9 \xa \x9 "; echo __("Enforce 2 Factor registration for users at login time", "miniorange-2-factor-authentication"); echo ".   \x9\x9 \x9 "; echo __("Skip 2 Factor registration at login.", "miniorange-2-factor-authentication"); echo " \x9

\x9 \x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("If this option is enabled then users have to setup their two-factor account forcefully during their login. By selecting second option, you will provide your users to skip their two-factor setup during login.", "miniorange-2-factor-authentication"); echo "\x9\x9 \x9
\x9
\x9\x9\x9
\xa\x9\x9\x9\x9

"; echo __("Email verification of Users during Inline Registration ", "miniorange-2-factor-authentication"); echo "



\x9 \x9\x9
\x9\x9 \x9 \x9\x9 "; echo __("Enable users to ", "miniorange-2-factor-authentication"); echo ""; echo __("edit their email address", "miniorange-2-factor-authentication"); echo " "; echo __("for registration with miniOrange.", "miniorange-2-factor-authentication"); echo "

\xa\x9\x9 \x9\x9\x9\x9 "; echo __("Skip e-mail verification by user.", "miniorange-2-factor-authentication"); echo " \x9

\xa
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("If this option is enabled then users can edit their email during inline registration with miniOrange, and they will be prompted for e-mail verification. By selecting second option, the user will be silently registered with miniOrange without the need of e-mail verification.", "miniorange-2-factor-authentication"); echo "
\x9 \x9\x9
\xa
\xa \x9"; if (!MoWpnsUtility::mo2f_new_plan_bus_allinclusive()) { goto T23; } echo "\x9\x9 \x9

"; echo __("Mobile Support", "miniorange-2-factor-authentication"); echo "


\xa \x9 \x9 \x9\x9\x9"; echo __("Enable Mobile Support for users.", "miniorange-2-factor-authentication"); echo "

\xa
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("If this option is enabled then Security Questions (KBA) will be invoked as 2nd factor during login through mobile browsers.", "miniorange-2-factor-authentication"); echo "
\xa\x9 \xa\x9\x9\x9
\xa \x9 "; T23: echo "\x9\xa \x9 "; if (!MoWpnsUtility::mo2f_new_plan_ecom_bus()) { goto ZzX; } echo " \x9\x9

"; echo __("Select Login Screen Options", "miniorange-2-factor-authentication"); echo "



\xa \x9 \x9 \x9\x9\x9"; echo __("Login with password + 2nd Factor ", "miniorange-2-factor-authentication"); echo "("; echo __("Recommended", "miniorange-2-factor-authentication"); echo ")  \xa\x9\x9\x9\x9

\x9\x9 \x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("By default 2nd Factor is enabled after password authentication. If you do not want to remember passwords anymore and just login with 2nd Factor, please select 2nd option.", "miniorange-2-factor-authentication"); echo "
\x9 \x9\x9
\x9 \x9\x9\x9 "; echo __("Login with 2nd Factor only ", "miniorange-2-factor-authentication"); echo "("; echo __("No password required.", "miniorange-2-factor-authentication"); echo ")  \xa\x9\x9 \x9
\xa \x9
\xa \x9\x9\x9\x9

\x9\x9 \x9\xa\x9 \x9 \x9
\xa\x9\x9\x9
\x9\x9\x9\x9

"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Checking this option will add login with your phone button below default login form. Click above link to see the preview.", "miniorange-2-factor-authentication"); echo "
\xa\x9\x9 \x9 \x9\x9 \x9 \x9\x9
\x9\x9\x9\x9 "; ZzX: echo "\x9\x9\x9

"; echo __("What happens if my phone is lost, discharged or not with me ", "miniorange-2-factor-authentication"); echo "


\x9\x9\x9
\x9\x9 \xa \x9 "; echo __("Enable Forgot Phone.", "miniorange-2-factor-authentication"); echo " \x9\x9\x9 ( "; echo __("If you disable this checkbox, then users will not get this option", "miniorange-2-factor-authentication"); echo ".)
\xa \x9
\x9 \x9 \x9\x9

"; echo __("Select the alternate login method in case your phone is lost, discharged or not with you.", "miniorange-2-factor-authentication"); echo "

\x9 \x9 "; echo __("KBA", "miniorange-2-factor-authentication"); echo " \x9\x9 "; echo __("OTP over EMAIL", "miniorange-2-factor-authentication"); echo "

\x9
\x9 \x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("This option will provide you alternate way of login in case your phone is lost, discharged or not with you.", "miniorange-2-factor-authentication"); echo "

\x9 "; $yH = mo2f_is_customer_registered(); do_action("mo2f_prepopulate_otp", $yH); echo "

"; echo __("Enable Backup Codes", "miniorange-2-factor-authentication"); echo "

\x9
\xa\x9
\x9 \x9 \x9 "; echo __("Enable Backup codes. ", "miniorange-2-factor-authentication"); echo " "; echo __("If you disable this checkbox, users will not be able to use backup codes.", "miniorange-2-factor-authentication"); echo "
\x9\x9\x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Enabling this option will allow you to use the backup codes", "miniorange-2-factor-authentication"); echo "
\xa \x9\x9\x9
\xa
\x9\x9\x9\x9

"; echo __(" Change name in Google Authenticator App", "miniorange-2-factor-authentication"); echo "

\xa \x9 \x9
\xa\x9\x9\x9\x9

"; echo __("Enable option will allow user to change name in Google Authenticator App for themselves. Disable option will not allow users to change name for Google Authenticator App.", "miniorange-2-factor-authentication"); echo "

\xa \x9\x9 \xa \x9 "; echo __("Enable", "miniorange-2-factor-authentication"); echo "  \xa \x9 \xa "; echo __("Disable", "miniorange-2-factor-authentication"); echo " \xa \x9

\x9\x9\x9 \x9 \x9\x9 \x9 \x9 \xa \xa\x9 \x9\x9 \x9
\x9 \x9

"; echo __(" Add Privacy Policy to your site", "miniorange-2-factor-authentication"); echo "

\x9
\xa\x9 \x9\x9

"; echo __("Take a look at our", "miniorange-2-factor-authentication"); echo " Privacy policy "; echo __("so that you can add this into your Company Policy making it gdpr compliant.", "miniorange-2-factor-authentication"); echo "

\x9 \x9\x9 "; echo __("Enable the option to ask for permission from users.", "miniorange-2-factor-authentication"); echo "

\xa \x9\x9
"; echo __("Enter the Link To Your Privacy Policy:", "miniorange-2-factor-authentication"); echo " \x9\x9 \xa \x9 \x9
\xa
\xa "; if (!MoWpnsUtility::mo2f_new_plan_bus_allinclusive()) { goto Bke; } echo "\x9\x9\x9

XML-RPC "; echo __("Settings", "miniorange-2-factor-authentication"); echo "

\xa \x9 \x9

\x9 \x9 "; echo __("Enabling this option will decrease your overall login security. Users will be able to login through external applications which support XML-RPC without authenticating from miniOrange. ", "miniorange-2-factor-authentication"); echo ""; echo __("Please keep it unchecked.", "miniorange-2-factor-authentication"); echo "

\xa\x9 \x9\x9 \x9\x9\x9 "; echo __("Enable XML-RPC Login.", "miniorange-2-factor-authentication"); echo " \x9
\xa\x9\x9\x9\x9
"; Bke: echo " \x9\x9 \x9\x9 \x9

"; echo __("Enable Plugin Log", "miniorange-2-factor-authentication"); echo "

\x9
\xa \x9
\xa\x9 \x9\x9\xa\x9 \x9\x9 "; echo __("Enable Plugin Log.", "miniorange-2-factor-authentication"); echo "\x9\x9 \x9

\xa \x9 \x9 "; if (!(MoWpnsUtility::get_mo2f_db_option("mo2f_enable_debug_log", "site_option") == 1)) { goto hPt; } echo " \x9 \xa \x9\x9\x9 \xa \x9 \x9 \x9\x9\x9 \x9
\x9 \x9\x9\x9
\xa\x9 \x9\x9 "; hPt: echo " \x9\x9 \xa \x9\x9\x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Plugin debug log file is very helpful to debug the issue in case you face any.", "miniorange-2-factor-authentication"); echo "
\x9\x9\x9
\x9\x9\x9 \xa \x9

"; echo __("Should users be given a grace period or should they be directly enforced for 2FA setup?", "miniorange-2-factor-authentication"); echo "

\x9 \x9
\x9\x9
\xa
\x9 \x9 \x9\xa \x9\xa\x9 "; echo __("Users should be directly enforced for 2FA setup", "miniorange-2-factor-authentication"); echo "

\xa\xa \x9 "; echo __("Give users a grace period to configure 2FA (Users will be enforced to setup 2FA after grace period expiry)", "miniorange-2-factor-authentication"); echo "     \x9\x9\x9\x9 \x9
\x9
\x9 \x9
Grace Period: \xa \x9\x9 \x9\x9\x9\x9 \x9\x9 hours \x9 \xa\x9 \x9\x9 days\x9\x9\x9 \xa\x9 \x9
\x9\xa\x9\x9
\x9
\x9 \xa\x9\xa\x9
\x9 \x9

\xa \xa

"; echo __("Enable MFA", "miniorange-2-factor-authentication"); echo "

\x9 \x9
\xa \x9
\x9 \x9\x9 "; echo __("Enable Multi-factor Authentication", "miniorange-2-factor-authentication"); echo "
\xa\x9 \x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Enabling this option will give users multiple choices for login.", "miniorange-2-factor-authentication"); echo "
\x9 \x9\x9
\xa\x9\x9\x9 \x9\x9\x9\x9 \xa\x9\x9 \xa\x9\x9 \x9\xa\x9

"; echo __("Enable Two-Factor plugin", "miniorange-2-factor-authentication"); echo "

\xa \x9
\x9\x9\x9
\xa \x9 \xa\x9 \x9 "; echo __("Enable Two-Factor plugin. ", "miniorange-2-factor-authentication"); echo "( If you disable this checkbox, Two-Factor plugin will not invoke for any user during login.)
\x9
"; echo __("Note:", "miniorange-2-factor-authentication"); echo " "; echo __("Disabling this option will allow all users to login with their username and password.Two-Factor will not invoke during login.", "miniorange-2-factor-authentication"); echo "
\xa\x9 \x9
\x9 \x9
\x9 \x9 \x9

\xa\xa \x9
\xa \x9\x9
\xa\x9 \x9\x9 \x9 \xa\x9 \x9 \xa\x9\x9
\xa\x9\x9 \xa
\xa\xa\xa"; ?>