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

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : UI Fixes.
Download this release

Release Info

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

Code changes from version 5.1.14 to 5.1.15

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.14]: ' . $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.14]: ' . $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.15]: ' . $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.15]: ' . $query;
617
  $fields = array(
618
  'firstName' => $user->user_firstname,
619
  'lastName' => $user->user_lastname,
class-miniorange-2-factor-login.php CHANGED
@@ -175,8 +175,8 @@ class Miniorange_Mobile_Login {
175
  }
176
 
177
  function mo_2_factor_hide_login() {
178
- wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.14', __FILE__ ) );
179
- wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.14', __FILE__ ) );
180
 
181
  wp_enqueue_style( 'hide-login' );
182
  wp_enqueue_style( 'bootstrap' );
@@ -238,7 +238,7 @@ class Miniorange_Mobile_Login {
238
  }
239
 
240
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
241
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.14', __FILE__ ) );
242
  wp_enqueue_style( 'show-login' );
243
  }
244
 
@@ -260,9 +260,9 @@ class Miniorange_Mobile_Login {
260
 
261
  function mo_2_factor_show_login() {
262
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
263
- wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.14', __FILE__ ) );
264
  } else {
265
- wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.14', __FILE__ ) );
266
  }
267
  wp_enqueue_style( 'show-login' );
268
  }
175
  }
176
 
177
  function mo_2_factor_hide_login() {
178
+ wp_register_style( 'hide-login', plugins_url( 'includes/css/hide-login.css?version=5.1.15', __FILE__ ) );
179
+ wp_register_style( 'bootstrap', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.15', __FILE__ ) );
180
 
181
  wp_enqueue_style( 'hide-login' );
182
  wp_enqueue_style( 'bootstrap' );
238
  }
239
 
240
  function mo_2_factor_show_login_with_password_when_phonelogin_enabled() {
241
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.15', __FILE__ ) );
242
  wp_enqueue_style( 'show-login' );
243
  }
244
 
260
 
261
  function mo_2_factor_show_login() {
262
  if ( get_option( 'mo2f_enable_login_with_2nd_factor' ) ) {
263
+ wp_register_style( 'show-login', plugins_url( 'includes/css/hide-login-form.css?version=5.1.15', __FILE__ ) );
264
  } else {
265
+ wp_register_style( 'show-login', plugins_url( 'includes/css/show-login.css?version=5.1.15', __FILE__ ) );
266
  }
267
  wp_enqueue_style( 'show-login' );
268
  }
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.14', __FILE__ ) . '" />';
856
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.14', __FILE__ ) . '" />';
857
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.14', __FILE__ ) . '" />';
858
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.14', __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.15', __FILE__ ) . '" />';
856
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.15', __FILE__ ) . '" />';
857
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.15', __FILE__ ) . '" />';
858
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.15', __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.14
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.14', __FILE__ ) );
398
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.14', __FILE__ ) );
399
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.14', __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.14', __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.14', __FILE__ ) );
409
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.14', __FILE__ ) );
410
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.14', __FILE__ ) );
411
- wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.14', __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.15
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.15', __FILE__ ) );
398
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.15', __FILE__ ) );
399
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.15', __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.15', __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.15', __FILE__ ) );
409
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.15', __FILE__ ) );
410
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.15', __FILE__ ) );
411
+ wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/bootstrap-tour-standalone.css?version=5.1.15', __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.0.2
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.1.14
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -221,6 +221,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
221
 
222
  == Changelog ==
223
 
 
 
 
224
  = 5.1.14 =
225
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
226
 
@@ -564,6 +567,9 @@ More descriptive setup messages and UI changes.
564
 
565
  == Upgrade Notice ==
566
 
 
 
 
567
  = 5.1.14 =
568
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
569
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.0.2
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.1.15
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
221
 
222
  == Changelog ==
223
 
224
+ = 5.1.15 =
225
+ * Google Authenticator-Two Factor Authentication (2FA) : UI Fixes.
226
+
227
  = 5.1.14 =
228
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
229
 
567
 
568
  == Upgrade Notice ==
569
 
570
+ = 5.1.15 =
571
+ * Google Authenticator-Two Factor Authentication (2FA) : UI Fixes.
572
+
573
  = 5.1.14 =
574
  * Google Authenticator-Two Factor Authentication (2FA) : Database Error Fix and Custom Redirect.
575
 
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.14', __FILE__ ) );
14
 
15
  $action = 'install-plugin';
16
  $slug = 'miniorange-google-authenticator';
@@ -130,7 +130,7 @@
130
  jQuery('#query_feedback').attr("placeholder", "Write your query here.");
131
  jQuery('#link_id').html('<p style="background-color:#a3e8c2;padding:5px;">We have another 2FA plugin for Wordpress that is entirely on-premise. You can manage all your data within the plugin' +
132
  ', without the need of creating an account with miniOrange. To get the plugin, ' +
133
- '<a href="<?php echo $install_link?>" target="_blank" onclick="handledeactivateplugin()"><b>CLICK HERE.</b></a></p>');
134
  jQuery('#link_id').show();
135
  }else if (reason == "Upgrading to Standard / Premium") {
136
  jQuery('#other_plugins_installed').hide();
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.15', __FILE__ ) );
14
 
15
  $action = 'install-plugin';
16
  $slug = 'miniorange-google-authenticator';
130
  jQuery('#query_feedback').attr("placeholder", "Write your query here.");
131
  jQuery('#link_id').html('<p style="background-color:#a3e8c2;padding:5px;">We have another 2FA plugin for Wordpress that is entirely on-premise. You can manage all your data within the plugin' +
132
  ', without the need of creating an account with miniOrange. To get the plugin, ' +
133
+ '<a href="<?php echo $install_link?>" target="_blank" onclick="handledeactivateplugin()"><b>Install.</b></a></p>');
134
  jQuery('#link_id').show();
135
  }else if (reason == "Upgrading to Standard / Premium") {
136
  jQuery('#other_plugins_installed').hide();