Google Authenticator – WordPress Two Factor Authentication (2FA) - Version 5.1.17

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix and Documentation changes.
Download this release

Release Info

Developer cyberlord92
Plugin Icon 128x128 Google Authenticator – WordPress Two Factor Authentication (2FA)
Version 5.1.17
Comparing to
See all releases

Code changes from version 5.1.16 to 5.1.17

class-customer-setup.php CHANGED
@@ -115,7 +115,7 @@ class Customer_Setup {
115
  $customer_feature = "V3";
116
  }
117
 
118
- $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.16]: ' . $message;
119
 
120
  $content = '<div >First Name :' . $user->user_firstname . '<br><br>Last Name :' . $user->user_lastname . ' <br><br>Company :<a href="' . $_SERVER['SERVER_NAME'] . '" target="_blank" >' . $_SERVER['SERVER_NAME'] . '</a><br><br>Phone Number :' . $phone . '<br><br>Email :<a href="mailto:' . $fromEmail . '" target="_blank">' . $fromEmail . '</a><br><br>Query :' . $query . '</div>';
121
 
@@ -613,7 +613,7 @@ class Customer_Setup {
613
  $customer_feature = "V3";
614
  }
615
 
616
- $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.16]: ' . $query;
617
  $fields = array(
618
  'firstName' => $user->user_firstname,
619
  'lastName' => $user->user_lastname,
115
  $customer_feature = "V3";
116
  }
117
 
118
+ $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.17]: ' . $message;
119
 
120
  $content = '<div >First Name :' . $user->user_firstname . '<br><br>Last Name :' . $user->user_lastname . ' <br><br>Company :<a href="' . $_SERVER['SERVER_NAME'] . '" target="_blank" >' . $_SERVER['SERVER_NAME'] . '</a><br><br>Phone Number :' . $phone . '<br><br>Email :<a href="mailto:' . $fromEmail . '" target="_blank">' . $fromEmail . '</a><br><br>Query :' . $query . '</div>';
121
 
613
  $customer_feature = "V3";
614
  }
615
 
616
+ $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.17]: ' . $query;
617
  $fields = array(
618
  'firstName' => $user->user_firstname,
619
  'lastName' => $user->user_lastname,
class-miniorange-2-factor-login.php CHANGED
@@ -145,8 +145,8 @@ class Miniorange_Mobile_Login {
145
  }
146
 
147
  function mo_2_factor_hide_login() {
148
- wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.16', __FILE__ ) );
149
- wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.16', __FILE__ ) );
150
  wp_enqueue_style( 'hide-login' );
151
  wp_enqueue_style( 'bootstrap' );
152
 
@@ -198,7 +198,7 @@ class Miniorange_Mobile_Login {
198
  }
199
 
200
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
201
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.16', __FILE__ ) );
202
  wp_enqueue_style( 'show-login' );
203
  }
204
 
@@ -220,9 +220,9 @@ class Miniorange_Mobile_Login {
220
 
221
  function mo_2_factor_show_login() {
222
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
223
- wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.16', __FILE__ ) );
224
  } else {
225
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.16', __FILE__ ) );
226
  }
227
  wp_enqueue_style( 'show-login' );
228
  }
145
  }
146
 
147
  function mo_2_factor_hide_login() {
148
+ wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.17', __FILE__ ) );
149
+ wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.17', __FILE__ ) );
150
  wp_enqueue_style( 'hide-login' );
151
  wp_enqueue_style( 'bootstrap' );
152
 
198
  }
199
 
200
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
201
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.17', __FILE__ ) );
202
  wp_enqueue_style( 'show-login' );
203
  }
204
 
220
 
221
  function mo_2_factor_show_login() {
222
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
223
+ wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.17', __FILE__ ) );
224
  } else {
225
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.17', __FILE__ ) );
226
  }
227
  wp_enqueue_style( 'show-login' );
228
  }
miniorange_2_factor_common_login.php CHANGED
@@ -852,10 +852,10 @@ function mo2f_customize_logo() { ?>
852
  function echo_js_css_files() {
853
  echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
854
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
855
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.1.16', __FILE__ ) . '" />';
856
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.16', __FILE__ ) . '" />';
857
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.16', __FILE__ ) . '" />';
858
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.16', __FILE__ ) . '" />';
859
 
860
  if ( get_option( 'mo2f_personalization_ui' ) ) {
861
  echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/mo2f_login_popup_ui.css', __FILE__ ) . '" />';
852
  function echo_js_css_files() {
853
  echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
854
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
855
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.1.17', __FILE__ ) . '" />';
856
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.17', __FILE__ ) . '" />';
857
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.17', __FILE__ ) . '" />';
858
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.17', __FILE__ ) . '" />';
859
 
860
  if ( get_option( 'mo2f_personalization_ui' ) ) {
861
  echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/mo2f_login_popup_ui.css', __FILE__ ) . '" />';
miniorange_2_factor_settings.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
- * Version: 5.1.16
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
@@ -394,21 +394,21 @@ class Miniorange_Authentication {
394
  }
395
 
396
  function mo_2_factor_enable_frontend_style() {
397
- wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.1.16', __FILE__ ) );
398
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.16', __FILE__ ) );
399
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.16', __FILE__ ) );
400
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
401
- wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.1.16', __FILE__ ) );
402
  }
403
 
404
  function plugin_settings_style( $mo2fa_hook_page ) {
405
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
406
  return;
407
  }
408
- wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.16', __FILE__ ) );
409
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.16', __FILE__ ) );
410
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.16', __FILE__ ) );
411
- wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.16', __FILE__ ) );
412
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
413
  }
414
 
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: https://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security after the default wordpress login. We Support Google/Authy/LastPass Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
+ * Version: 5.1.17
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
394
  }
395
 
396
  function mo_2_factor_enable_frontend_style() {
397
+ wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.1.17', __FILE__ ) );
398
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.17', __FILE__ ) );
399
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.17', __FILE__ ) );
400
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
401
+ wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.1.17', __FILE__ ) );
402
  }
403
 
404
  function plugin_settings_style( $mo2fa_hook_page ) {
405
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
406
  return;
407
  }
408
+ wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.17', __FILE__ ) );
409
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.17', __FILE__ ) );
410
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.17', __FILE__ ) );
411
+ wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.17', __FILE__ ) );
412
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
413
  }
414
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
  Tested up to: 5.1
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.1.16
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -50,6 +50,11 @@ This plugin provides two factor authentication (TFA) during login. If you are lo
50
  * App Specific Password to login from mobile Apps
51
  * **Add-Ons Included:** RBA & Trusted Devices Management Add-on, Personalization Add-on and Short Codes Add-on
52
 
 
 
 
 
 
53
  <h4>Add Ons [Applicable for Free and Standard Plans, Inclusive in the Premium Plan]</h4>
54
 
55
  * RBA & Trusted Devices Management Add-on Features
@@ -94,6 +99,9 @@ Customized solutions and Active support is available. Email us at info@miniorang
94
  3. Enter the username and password. After the initial validation, you will be prompted for the 2-factor method you had set up.
95
  4. Validate yourself with the 2-factor authentication method you configured.
96
 
 
 
 
97
  == Frequently Asked Questions ==
98
 
99
  = How do I gain access to my website if I get locked out? =
@@ -103,7 +111,10 @@ You can obtain access to your website by one of the below options:
103
  1. If you have an additional administrator account whose Two Factor is not enabled yet, you can login with it.
104
  2. If you had setup KBA questions earlier, you can use them as an alternate method to login to your website.
105
  3. Rename the plugin from FTP - this disables the Two-Factor (2FA) plugin and you will be able to login with your Wordpress username and password.
106
- 4. Go to WordPress Database. Select wp_options, search for mo2f_activate_plugin key and update its value to 0. Two Factor will get disabled.
 
 
 
107
 
108
  = I want to enable Two-Factor Authentication (2FA) role wise ? =
109
 
@@ -221,9 +232,15 @@ miniOrange authentication service has 15+ authentication methods.One time passco
221
 
222
  == Changelog ==
223
 
 
 
 
224
  = 5.1.16 =
225
  * Google Authenticator-Two Factor Authentication (2FA) : Login redirect fix.
226
 
 
 
 
227
  = 5.1.14 =
228
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
229
 
@@ -567,9 +584,15 @@ More descriptive setup messages and UI changes.
567
 
568
  == Upgrade Notice ==
569
 
 
 
 
570
  = 5.1.16 =
571
  * Google Authenticator-Two Factor Authentication (2FA) : Login redirect fix.
572
 
 
 
 
573
  = 5.1.14 =
574
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
575
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.1
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.1.17
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
50
  * App Specific Password to login from mobile Apps
51
  * **Add-Ons Included:** RBA & Trusted Devices Management Add-on, Personalization Add-on and Short Codes Add-on
52
 
53
+ <h4>Why do you need to register?</h4>
54
+
55
+ miniOrange Two-factor Plugin uses miniOrange APIs to communicate between your WP and miniOrange. To keep this communication secure, we ask you to register and assign you API keys specific to your account. This way your account and users calls can be only accessed by API keys assigned to you.
56
+ Adding to this, you can also use the same account on multiple applications and your users do not have to maintain multiple accounts or 2-factors.
57
+
58
  <h4>Add Ons [Applicable for Free and Standard Plans, Inclusive in the Premium Plan]</h4>
59
 
60
  * RBA & Trusted Devices Management Add-on Features
99
  3. Enter the username and password. After the initial validation, you will be prompted for the 2-factor method you had set up.
100
  4. Validate yourself with the 2-factor authentication method you configured.
101
 
102
+ <b>Video Guide</b> :<br>
103
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/vVGXjedIaGs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
104
+
105
  == Frequently Asked Questions ==
106
 
107
  = How do I gain access to my website if I get locked out? =
111
  1. If you have an additional administrator account whose Two Factor is not enabled yet, you can login with it.
112
  2. If you had setup KBA questions earlier, you can use them as an alternate method to login to your website.
113
  3. Rename the plugin from FTP - this disables the Two-Factor (2FA) plugin and you will be able to login with your Wordpress username and password.
114
+
115
+ For detailed information, Please check on our website. <a href="https://faq.miniorange.com/knowledgebase/gain-access-to-website-if-locked-out/" target="_blank">Locked Out</a>.<br>
116
+ You can also check our video Tutorial:
117
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/wLFKakQkpk8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
118
 
119
  = I want to enable Two-Factor Authentication (2FA) role wise ? =
120
 
232
 
233
  == Changelog ==
234
 
235
+ = 5.1.17 =
236
+ * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix and Documentation changes.
237
+
238
  = 5.1.16 =
239
  * Google Authenticator-Two Factor Authentication (2FA) : Login redirect fix.
240
 
241
+ = 5.1.15 =
242
+ * Google Authenticator-Two Factor Authentication (2FA) : UI Fixes.
243
+
244
  = 5.1.14 =
245
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
246
 
584
 
585
  == Upgrade Notice ==
586
 
587
+ = 5.1.17 =
588
+ * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix and Documentation changes.
589
+
590
  = 5.1.16 =
591
  * Google Authenticator-Two Factor Authentication (2FA) : Login redirect fix.
592
 
593
+ = 5.1.15 =
594
+ * Google Authenticator-Two Factor Authentication (2FA) : UI Fixes.
595
+
596
  = 5.1.14 =
597
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
598
 
views/feedback_form.php CHANGED
@@ -10,7 +10,7 @@
10
  wp_enqueue_style( 'wp-pointer' );
11
  wp_enqueue_script( 'wp-pointer' );
12
  wp_enqueue_script( 'utils' );
13
- wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.1.16', __FILE__ ) );
14
 
15
  $action = 'install-plugin';
16
  $slug = 'miniorange-google-authenticator';
10
  wp_enqueue_style( 'wp-pointer' );
11
  wp_enqueue_script( 'wp-pointer' );
12
  wp_enqueue_script( 'utils' );
13
+ wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.1.17', __FILE__ ) );
14
 
15
  $action = 'install-plugin';
16
  $slug = 'miniorange-google-authenticator';