<?php
/**
 * File contains super global variables.
 *
 * @package miniOrange-2-factor-authentication/database
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

$GLOBALS['mo2f_enable_brute_force']                         = false;
$GLOBALS['mo2f_show_remaining_attempts']                    = false;
$GLOBALS['mo_wpns_enable_ip_blocked_email_to_admin']        = false;
$GLOBALS['mo2f_activate_plugin']                            = 0;
$GLOBALS['mo2f_login_option']                               = 1;
$GLOBALS['mo2f_number_of_transactions']                     = 1;
$GLOBALS['mo2f_set_transactions']                           = 0;
$GLOBALS['mo2f_enable_forgotphone']                         = 0;
$GLOBALS['mo2f_enable_2fa_for_users']                       = 1;
$GLOBALS['mo2f_enable_xmlrpc']                              = 0;
$GLOBALS['mo2f_custom_plugin_name']                         = 'miniOrange 2-Factor';
$GLOBALS['mo2f_show_sms_transaction_message']               = 0;
$GLOBALS['mo2f_enforce_strong_passswords_for_accounts']     = 'all';
$GLOBALS['mo_wpns_scan_initialize']                         = 1;
$GLOBALS['mo_wpns_2fa_with_network_security']               = 0;
$GLOBALS['mo_wpns_2fa_with_network_security_popup_visible'] = 1;
$GLOBALS['mo2f_two_factor_tour']                            = -1;
$GLOBALS['mo2f_planname']                                   = '';
$GLOBALS['cmVtYWluaW5nT1RQ']                                = 30;
$GLOBALS['bGltaXRSZWFjaGVk']                                = 0;
$GLOBALS['mo2f_is_NC']                                      = 1;
$GLOBALS['mo2f_is_NNC']                                     = 1;
$GLOBALS['mo2f_enforce_strong_passswords']                  = false;
$GLOBALS['mo2f_enable_debug_log']                           = 0;
$GLOBALS['mo2f_grace_period']                               = null;
$GLOBALS['mo2f_grace_period_type']                          = 'hours';
$GLOBALS['mo2f_enable_email_change']                        = 0;
$GLOBALS['mo2f_remember_device']                            = '1';
$GLOBALS['mo2f_enable_custom_poweredby']                    = '1';
$GLOBALS['mo2f_enable_login_popup_customization']           = '1';
$GLOBALS['mo2f_show_loginwith_phone']                       = '1';
$GLOBALS['mo2f_enable_rba_types']                           = '0';
$GLOBALS['mo2f_action_rba_limit_exceed']                    = '1';
$GLOBALS['mo2f_session_allowed_type']                       = '1';
$GLOBALS['mo2f_sesssion_restriction']                       = '1';
$GLOBALS['mo2f_session_logout_time_enable']                 = '1';
$GLOBALS['mo2f_login_option']                               = '0';
$GLOBALS['mo2f_email_ver_subject']                          = '2-Factor Authentication(Email Verification Via Link)';
$GLOBALS['mo2f_email_subject']                              = '2-Factor Authentication';
$GLOBALS['mo2f_2fa_reconfig_email_subject']                 = '2FA-Reconfiguration Link';
$GLOBALS['mo2f_2fa_backup_code_email_subject']              = '2-Factor Authentication(Backup Codes)';
$GLOBALS['mo2f_2fa_new_ip_detected_email_subject']          = 'Sign in from a new location for your user account | ' . get_bloginfo();
$GLOBALS['mo2f_otp_over_email_template']                    = '<table cellpadding="25" style="margin:0px auto">
<tbody>
<tr>
<td>
<table cellpadding="24" width="584px" style="margin:0 auto;max-width:584px;background-color:#f6f4f4;">
<tbody>
<tr>
<td><img src="https://ci5.googleusercontent.com/proxy/10EQeM1udyBOkfD2dwxGhIaMXV4lOwCRtUecpsDkZISL0JIkOL2JhaYhVp54q6Sk656rW2rpAFJFEgGQiAOVcYIIKxXYMHHMNSNB=s0-d-e1-ft#https://login.xecurify.com/moas/images/xecurify-logo.png" alt="Xecurify"  style="color:#5fb336;text-decoration:none;display:block;width:auto;height:auto;max-height:35px" class="CToWUd"></td>
</tr>
</tbody>
</table>
<table cellpadding="24" style="background:#fff;border:1px solid #a8adad;width:584px;border-top:none;color:#4d4b48;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">
<tbody>
<tr>
<td>
<p style="margin-top:0;margin-bottom:20px">Dear Customer,</p>
<p style="margin-top:0;margin-bottom:10px">You initiated a transaction <b>WordPress 2 Factor Authentication Plugin</b>:</p>
<p style="margin-top:0;margin-bottom:10px">Your one time passcode is ##otp_token##.
<p style="margin-top:0;margin-bottom:15px">Thank you,<br>miniOrange Team</p>
<p style="margin-top:0;margin-bottom:0px;font-size:11px;color:red">Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</p>
</div></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';
$GLOBALS['mo2f_reconfig_link_email_template']               = '
<table cellpadding="25" style="margin:0px auto">
<tbody>
<tr>
<td>
<table cellpadding="24" width="584px" style="margin:0 auto;max-width:584px;background-color:#f6f4f4;border:1px solid #a8adad">
<tbody>
<tr>
<td><img src="https://ci5.googleusercontent.com/proxy/10EQeM1udyBOkfD2dwxGhIaMXV4lOwCRtUecpsDkZISL0JIkOL2JhaYhVp54q6Sk656rW2rpAFJFEgGQiAOVcYIIKxXYMHHMNSNB=s0-d-e1-ft#https://login.xecurify.com/moas/images/xecurify-logo.png" alt="Xecurify" style="color:#5fb336;text-decoration:none;display:block;width:auto;height:auto;max-height:35px" class="CToWUd"></td>
</tr>
</tbody>
</table>
<table cellpadding="24" style="background:#fff;border:1px solid #a8adad;width:584px;border-top:none;color:#4d4b48;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">
<tbody>
<tr>
<td>
<input type="hidden" name="user_id" id="user_id" value="##user_id##">
<input type="hidden" name="email" id="email" value="##user_email##">
<p style="margin-top:0;margin-bottom:20px">' . esc_html__( 'Dear ', 'miniorange-2-factor-authentication' ) . '##user_name##,</p>
<p style="margin-top:0;margin-bottom:10px">' . esc_html__( 'Please click on the below link in order to reconfigure the 2FA method:', 'miniorange-2-factor-authentication' ) . '</p>
<p><a href="##url##" >' . esc_html__( 'Click to reconfigure 2nd factor', 'miniorange-2-factor-authentication' ) . '</a></p>
<p style="margin-top:0;margin-bottom:15px">' . esc_html__( 'Thank you', 'miniorange-2-factor-authentication' ) . ',<br> ' . esc_html__( 'miniOrange Team', 'miniorange-2-factor-authentication' ) . ' </p>
<p style="margin-top:0;margin-bottom:0px;font-size:11px;color:red">' . esc_html__( ' Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.', 'miniorange-2-factor-authentication' ) . '</p>
</div></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';
$GLOBALS['mo2f_out_of_band_email_template']                 = '<table cellpadding="25" style="margin:0px auto">
<tbody>
<tr>
<td>
<table cellpadding="24" width="584px" style="margin:0 auto;max-width:584px;background-color:#f6f4f4;border:1px solid #a8adad">
<tbody>
<tr>
<td><img src="https://ci5.googleusercontent.com/proxy/10EQeM1udyBOkfD2dwxGhIaMXV4lOwCRtUecpsDkZISL0JIkOL2JhaYhVp54q6Sk656rW2rpAFJFEgGQiAOVcYIIKxXYMHHMNSNB=s0-d-e1-ft#https://login.xecurify.com/moas/images/xecurify-logo.png" style="color:#5fb336;text-decoration:none;display:block;width:auto;height:auto;max-height:35px" class="CToWUd"></td>
</tr>
</tbody>
</table>
<table cellpadding="24" style="background:#fff;border:1px solid #a8adad;width:584px;border-top:none;color:#4d4b48;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">
<tbody>
<tr>
<td>
<p style="margin-top:0;margin-bottom:20px">Dear Customer,</p>
<p style="margin-top:0;margin-bottom:10px">You initiated a transaction <b>WordPress 2 Factor Authentication Plugin</b>:</p>
<p style="margin-top:0;margin-bottom:10px">To accept, <a href="##url##userID=##user_id##&amp;accessToken=##accept_token##&amp;secondFactorAuthType=OUT+OF+BAND+EMAIL&amp;Txid=##txid##&amp;user=##email##" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://login.xecurify.com/moas/rest/validate-otp?customerKey%3D182589%26otpToken%3D735705%26secondFactorAuthType%3DOUT%2BOF%2BBAND%2BEMAIL%26user%3D##email##&amp;source=gmail&amp;ust=1569905139580000&amp;usg=AFQjCNExKCcqZucdgRm9-0m360FdYAIioA">Accept Transaction</a></p>
<p style="margin-top:0;margin-bottom:10px">To deny, <a href="##url##userID=##user_id##&amp;accessToken=##denie_token##&amp;secondFactorAuthType=OUT+OF+BAND+EMAIL&amp;Txid=##txid##&amp;user=##email##" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://login.xecurify.com/moas/rest/validate-otp?customerKey%3D182589%26otpToken%3D735705%26secondFactorAuthType%3DOUT%2BOF%2BBAND%2BEMAIL%26user%3D##email##&amp;source=gmail&amp;ust=1569905139580000&amp;usg=AFQjCNExKCcqZucdgRm9-0m360FdYAIioA">Deny Transaction</a></p><div><div class="adm"><div id="q_31" class="ajR h4" data-tooltip="Hide expanded content" aria-label="Hide expanded content" aria-expanded="true"><div class="ajT"></div></div></div><div class="im">
<p style="margin-top:0;margin-bottom:15px">Thank you,<br>miniOrange Team</p>
<p style="margin-top:0;margin-bottom:0px;font-size:11px;color:red">Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</p>
</div></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';
$GLOBALS['mo2f_backup_code_email_template']                 = '<table cellpadding="25" style="margin:0px auto">
<tbody>
<tr>
<td>
<table cellpadding="24" width="584px" style="margin:0 auto;max-width:584px;background-color:#f6f4f4;border:1px solid #a8adad">
<tbody>
<tr>
<td><img src="https://ci5.googleusercontent.com/proxy/10EQeM1udyBOkfD2dwxGhIaMXV4lOwCRtUecpsDkZISL0JIkOL2JhaYhVp54q6Sk656rW2rpAFJFEgGQiAOVcYIIKxXYMHHMNSNB=s0-d-e1-ft#https://login.xecurify.com/moas/images/xecurify-logo.png" style="color:#5fb336;text-decoration:none;display:block;width:auto;height:auto;max-height:35px" class="CToWUd"></td>
</tr>
</tbody>
</table>
<table cellpadding="24" style="background:#fff;border:1px solid #a8adad;width:584px;border-top:none;color:#4d4b48;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">
<tbody>
<tr>
<td>
<p style="margin-top:0;margin-bottom:20px">Dear Customer,</p>
<p style="margin-top:0;margin-bottom:10px">You initiated a transaction from <b>WordPress 2 Factor Authentication Plugin</b>:</p>
<p style="margin-top:0;margin-bottom:10px">Your backup codes are:-
<table cellspacing="10">
	<tr><td> ##code1## </td><td> ##code2## </td><td> ##code3## </td><td> ##code4## </td><td> ##code5## </td>
</table></p>
<p style="margin-top:0;margin-bottom:10px">Please use this carefully as each code can only be used once. Please do not share these codes with anyone.</p>
<p style="margin-top:0;margin-bottom:10px">Also, we would highly recommend you to reconfigure your two-factor after logging in.</p>
<p style="margin-top:0;margin-bottom:15px">Thank you,<br>miniOrange Team</p>
<p style="margin-top:0;margin-bottom:0px;font-size:11px;color:red">Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</p>
</div></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';
$GLOBALS['mo2f_new_ip_detected_email_template']             = '<table cellpadding="25" style="margin:0px auto">
<tbody>
<tr>
<td>
<table cellpadding="24" width="584px" style="margin:0 auto;max-width:584px;background-color:#f6f4f4;border:1px solid #a8adad">
<tbody>
<tr>
<td><img src="https://ci5.googleusercontent.com/proxy/10EQeM1udyBOkfD2dwxGhIaMXV4lOwCRtUecpsDkZISL0JIkOL2JhaYhVp54q6Sk656rW2rpAFJFEgGQiAOVcYIIKxXYMHHMNSNB=s0-d-e1-ft#https://login.xecurify.com/moas/images/xecurify-logo.png" style="color:#5fb336;text-decoration:none;display:block;width:auto;height:auto;max-height:35px" class="CToWUd"></td>
</tr>
</tbody>
</table>
<table cellpadding="24" style="background:#fff;border:1px solid #a8adad;width:584px;border-top:none;color:#4d4b48;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:18px">
<tbody>
<tr>
<td>
<p style="margin-top:0;margin-bottom:20px">Dear Customer,</p>
<p style="margin-top:0;margin-bottom:10px">Your account was logged in from new IP Address ##ipaddress## on website <b>' . get_bloginfo() . '.</b></p>
<p style="margin-top:0;margin-bottom:10px">Please <a href="mailto:info@xecurify.com">contact us</a> if you don\'t recognize this activity.</p>
<p style="margin-top:0;margin-bottom:15px">Thank you,<br>miniOrange Team</p>
<p style="margin-top:0;margin-bottom:0px;font-size:11px;color:red">Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.</p>
</div></div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>';
