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

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : Javascript Error fixes.
Download this release

Release Info

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

Code changes from version 5.1.9 to 5.1.10

class-customer-setup.php CHANGED
@@ -118,7 +118,7 @@ class Customer_Setup {
118
  $customer_feature = "V3";
119
  }
120
 
121
- $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.9]: ' . $message;
122
 
123
  $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>';
124
 
@@ -619,7 +619,7 @@ class Customer_Setup {
619
  $customer_feature = "V3";
620
  }
621
 
622
- $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.9]: ' . $query;
623
  $fields = array(
624
  'firstName' => $user->user_firstname,
625
  'lastName' => $user->user_lastname,
118
  $customer_feature = "V3";
119
  }
120
 
121
+ $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.10]: ' . $message;
122
 
123
  $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>';
124
 
619
  $customer_feature = "V3";
620
  }
621
 
622
+ $query = '[WordPress 2 Factor Authentication Plugin: ' . $customer_feature . ' - V 5.1.10]: ' . $query;
623
  $fields = array(
624
  'firstName' => $user->user_firstname,
625
  'lastName' => $user->user_lastname,
class-miniorange-2-factor-login.php CHANGED
@@ -177,8 +177,8 @@ class Miniorange_Mobile_Login {
177
  }
178
 
179
  function mo_2_factor_hide_login() {
180
- wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.9', __FILE__ ) );
181
- wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.9', __FILE__ ) );
182
 
183
  wp_enqueue_style( 'hide-login' );
184
  wp_enqueue_style( 'bootstrap' );
@@ -240,7 +240,7 @@ class Miniorange_Mobile_Login {
240
  }
241
 
242
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
243
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.9', __FILE__ ) );
244
  wp_enqueue_style( 'show-login' );
245
  }
246
 
@@ -262,9 +262,9 @@ class Miniorange_Mobile_Login {
262
 
263
  function mo_2_factor_show_login() {
264
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
265
- wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.9', __FILE__ ) );
266
  } else {
267
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.9', __FILE__ ) );
268
  }
269
  wp_enqueue_style( 'show-login' );
270
  }
177
  }
178
 
179
  function mo_2_factor_hide_login() {
180
+ wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.10', __FILE__ ) );
181
+ wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.10', __FILE__ ) );
182
 
183
  wp_enqueue_style( 'hide-login' );
184
  wp_enqueue_style( 'bootstrap' );
240
  }
241
 
242
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
243
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.10', __FILE__ ) );
244
  wp_enqueue_style( 'show-login' );
245
  }
246
 
262
 
263
  function mo_2_factor_show_login() {
264
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
265
+ wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.10', __FILE__ ) );
266
  } else {
267
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.10', __FILE__ ) );
268
  }
269
  wp_enqueue_style( 'show-login' );
270
  }
class-miniorange-2-factor-user-registration.php CHANGED
@@ -30,7 +30,7 @@ class Miniorange_User_Register {
30
  }
31
 
32
  function plugin_settings_style() {
33
- wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.9', __FILE__ ) );
34
  }
35
 
36
  function mo_auth_success_message() {
30
  }
31
 
32
  function plugin_settings_style() {
33
+ wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.10', __FILE__ ) );
34
  }
35
 
36
  function mo_auth_success_message() {
miniorange_2_factor_common_login.php CHANGED
@@ -838,10 +838,10 @@ function mo2f_customize_logo() { ?>
838
  function echo_js_css_files() {
839
  echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
840
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
841
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.1.9', __FILE__ ) . '" />';
842
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.9', __FILE__ ) . '" />';
843
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.9', __FILE__ ) . '" />';
844
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.9', __FILE__ ) . '" />';
845
 
846
  if ( get_option( 'mo2f_personalization_ui' ) ) {
847
  echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/mo2f_login_popup_ui.css', __FILE__ ) . '" />';
838
  function echo_js_css_files() {
839
  echo '<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>';
840
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
841
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.1.10', __FILE__ ) . '" />';
842
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.10', __FILE__ ) . '" />';
843
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.10', __FILE__ ) . '" />';
844
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.10', __FILE__ ) . '" />';
845
 
846
  if ( get_option( 'mo2f_personalization_ui' ) ) {
847
  echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/mo2f_login_popup_ui.css', __FILE__ ) . '" />';
miniorange_2_factor_mobile_configuration.php CHANGED
@@ -776,7 +776,7 @@ function mo2f_select_2_factor_method( $user, $mo2f_second_factor ) {
776
  title: "Test Configured Method",
777
  content: "Please test the 2FA method you configured, to ensure it works.",
778
  backdrop:'body',
779
- backdropPadd ing:'6'
780
  }
781
  , {
782
  element: "#mo2f_support_form",
776
  title: "Test Configured Method",
777
  content: "Please test the 2FA method you configured, to ensure it works.",
778
  backdrop:'body',
779
+ backdropPadding:'6'
780
  }
781
  , {
782
  element: "#mo2f_support_form",
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 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.9
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
@@ -439,21 +439,21 @@ class Miniorange_Authentication {
439
  }
440
 
441
  function mo_2_factor_enable_frontend_style() {
442
- wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.1.9', __FILE__ ) );
443
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.9', __FILE__ ) );
444
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.9', __FILE__ ) );
445
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
446
- wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.1.9', __FILE__ ) );
447
  }
448
 
449
  function plugin_settings_style( $mo2fa_hook_page ) {
450
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
451
  return;
452
  }
453
- wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.9', __FILE__ ) );
454
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.9', __FILE__ ) );
455
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.9', __FILE__ ) );
456
- wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.9', __FILE__ ) );
457
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
458
  }
459
 
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 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.10
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
439
  }
440
 
441
  function mo_2_factor_enable_frontend_style() {
442
+ wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.1.10', __FILE__ ) );
443
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.10', __FILE__ ) );
444
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.10', __FILE__ ) );
445
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
446
+ wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.1.10', __FILE__ ) );
447
  }
448
 
449
  function plugin_settings_style( $mo2fa_hook_page ) {
450
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
451
  return;
452
  }
453
+ wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.10', __FILE__ ) );
454
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.10', __FILE__ ) );
455
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.10', __FILE__ ) );
456
+ wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.10', __FILE__ ) );
457
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
458
  }
459
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.1.9
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -222,13 +222,16 @@ miniOrange authentication service has 15+ authentication methods.One time passco
222
 
223
  == Changelog ==
224
 
225
- =5.1.9=
 
 
 
226
  * Google Authenticator-Two Factor Authentication (2FA) : Added visual tour and security fixes.
227
 
228
- =5.1.8=
229
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for Validation.
230
 
231
- =5.1.7=
232
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for DB error after Update.
233
 
234
  = 5.1.6 =
@@ -552,14 +555,16 @@ More descriptive setup messages and UI changes.
552
  * First version of Two Factor Authentication ( 2FA ) plugin supported with mobile auhthentication for admin only.
553
 
554
  == Upgrade Notice ==
 
 
555
 
556
- =5.1.9=
557
  * Google Authenticator-Two Factor Authentication (2FA) : Added visual tour and security fixes.
558
 
559
- =5.1.8=
560
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for Validation.
561
 
562
- =5.1.7=
563
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for DB error after Update.
564
 
565
  = 5.1.6 =
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.1.10
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
222
 
223
  == Changelog ==
224
 
225
+ = 5.1.10 =
226
+ * Google Authenticator-Two Factor Authentication (2FA) : Javascript Error fixes.
227
+
228
+ = 5.1.9 =
229
  * Google Authenticator-Two Factor Authentication (2FA) : Added visual tour and security fixes.
230
 
231
+ = 5.1.8 =
232
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for Validation.
233
 
234
+ = 5.1.7 =
235
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for DB error after Update.
236
 
237
  = 5.1.6 =
555
  * First version of Two Factor Authentication ( 2FA ) plugin supported with mobile auhthentication for admin only.
556
 
557
  == Upgrade Notice ==
558
+ = 5.1.10 =
559
+ * Google Authenticator-Two Factor Authentication (2FA) : Javascript Error fixes.
560
 
561
+ = 5.1.9 =
562
  * Google Authenticator-Two Factor Authentication (2FA) : Added visual tour and security fixes.
563
 
564
+ = 5.1.8 =
565
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for Validation.
566
 
567
+ = 5.1.7 =
568
  * Google Authenticator-Two Factor Authentication (2FA) : Bug fix for DB error after Update.
569
 
570
  = 5.1.6 =
views/feedback_form.php CHANGED
@@ -9,7 +9,7 @@
9
  wp_enqueue_style( 'wp-pointer' );
10
  wp_enqueue_script( 'wp-pointer' );
11
  wp_enqueue_script( 'utils' );
12
- wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.1.9', __FILE__ ) );
13
 
14
  $action = 'install-plugin';
15
  $slug = 'miniorange-google-authenticator';
9
  wp_enqueue_style( 'wp-pointer' );
10
  wp_enqueue_script( 'wp-pointer' );
11
  wp_enqueue_script( 'utils' );
12
+ wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.1.10', __FILE__ ) );
13
 
14
  $action = 'install-plugin';
15
  $slug = 'miniorange-google-authenticator';