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

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : Fixed conflict and filter issues.
Download this release

Release Info

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

Code changes from version 5.2.5 to 5.2.6

includes/css/bootstrap.min.css CHANGED
@@ -427,8 +427,8 @@ button.mo2f_close {
427
  }
428
 
429
  #smsAlertModal {
430
- background-color: black !important;
431
- opacity: 0.8 !important;
432
  font-family: Roboto;
433
  }
434
 
427
  }
428
 
429
  #smsAlertModal {
430
+ background-color: rgba(0,0,0,0.38);
431
+ opacity: 3.8 !important;
432
  font-family: Roboto;
433
  }
434
 
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.2.5
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
@@ -26,7 +26,7 @@ require( 'class-miniorange-2-factor-pass2fa-login.php' );
26
  require('resources/constants.php');
27
  require('resources/messages.php');
28
  define( 'MOAUTH_PATH', plugins_url( __FILE__ ) );
29
- define( 'MO2F_VERSION', '5.2.5' );
30
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
31
 
32
 
@@ -78,7 +78,7 @@ class Miniorange_Authentication {
78
  $mo2f_rba_attributes = new Miniorange_Rba_Attributes();
79
  $pass2fa_login = new Miniorange_Password_2Factor_Login();
80
  $mo2f_2factor_setup = new Two_Factor_Setup();
81
- add_action( 'init', array( $pass2fa_login, 'miniorange_pass2login_redirect' ) );
82
  //for shortcode addon
83
  add_filter( 'mo2f_shortcode_rba_gauth', array( $mo2f_rba_attributes, 'mo2f_validate_google_auth' ), 10, 3 );
84
  add_filter( 'mo2f_shortcode_kba', array( $mo2f_2factor_setup, 'register_kba_details' ), 10, 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.2.6
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
26
  require('resources/constants.php');
27
  require('resources/messages.php');
28
  define( 'MOAUTH_PATH', plugins_url( __FILE__ ) );
29
+ define( 'MO2F_VERSION', '5.2.6' );
30
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
31
 
32
 
78
  $mo2f_rba_attributes = new Miniorange_Rba_Attributes();
79
  $pass2fa_login = new Miniorange_Password_2Factor_Login();
80
  $mo2f_2factor_setup = new Two_Factor_Setup();
81
+ add_action( 'init', array( $pass2fa_login, 'miniorange_pass2login_redirect' ), 0 );
82
  //for shortcode addon
83
  add_filter( 'mo2f_shortcode_rba_gauth', array( $mo2f_rba_attributes, 'mo2f_validate_google_auth' ), 10, 3 );
84
  add_filter( 'mo2f_shortcode_kba', array( $mo2f_2factor_setup, 'register_kba_details' ), 10, 7 );
network_security/integrations/class_buddypress.php CHANGED
@@ -1,4 +1,6 @@
1
- <?php class Mo2f_BuddyPress{
 
 
2
 
3
  public static function signup_errors() {
4
  if (!isset($_POST['signup_username']))
1
+ <?php
2
+
3
+ class Mo2f_BuddyPress{
4
 
5
  public static function signup_errors() {
6
  if (!isset($_POST['signup_username']))
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: cyberlord92, twofactor
3
  Tags: google authenticator, two factor authentication, two factor, 2FA, TFA, MFA, 2 factor authentication, Remember Device, OTP, two step authentication,Clef, two factor auth, Mobile Authentication, strong authentication, 2 step authentication, Multifactor authentication, passwordless login, one time passcode, soft token Authentication, QR Code Authentication, email verification, KBA, Security Questions, knowledge based authentication,authy, authy two factor,yubico,Two-Factor Authentication, security, website security, login security, multi factor authentication, multi factor,wordfence, IP Blocking, IP Whitelisting, login Audits, woocommerce, smartphone authenticationDonate link: https://miniorange.com/
4
  Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
- Tested up to: 5.2
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.2.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -271,6 +271,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
271
 
272
  == Changelog ==
273
 
 
 
 
274
  = 5.2.5 =
275
  * Google Authenticator-Two Factor Authentication (2FA) : Some warnings in remote post.
276
 
@@ -656,6 +659,8 @@ More descriptive setup messages and UI changes.
656
 
657
  == Upgrade Notice ==
658
 
 
 
659
 
660
  = 5.2.5 =
661
  * Google Authenticator-Two Factor Authentication (2FA) : Some warnings in remote post.
3
  Tags: google authenticator, two factor authentication, two factor, 2FA, TFA, MFA, 2 factor authentication, Remember Device, OTP, two step authentication,Clef, two factor auth, Mobile Authentication, strong authentication, 2 step authentication, Multifactor authentication, passwordless login, one time passcode, soft token Authentication, QR Code Authentication, email verification, KBA, Security Questions, knowledge based authentication,authy, authy two factor,yubico,Two-Factor Authentication, security, website security, login security, multi factor authentication, multi factor,wordfence, IP Blocking, IP Whitelisting, login Audits, woocommerce, smartphone authenticationDonate link: https://miniorange.com/
4
  Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.3.1
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.2.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
271
 
272
  == Changelog ==
273
 
274
+ = 5.2.6 =
275
+ * Google Authenticator-Two Factor Authentication (2FA) : Fixed conflict and filter issues.
276
+
277
  = 5.2.5 =
278
  * Google Authenticator-Two Factor Authentication (2FA) : Some warnings in remote post.
279
 
659
 
660
  == Upgrade Notice ==
661
 
662
+ = 5.2.6 =
663
+ * Google Authenticator-Two Factor Authentication (2FA) : Fixed conflict and filter issues.
664
 
665
  = 5.2.5 =
666
  * Google Authenticator-Two Factor Authentication (2FA) : Some warnings in remote post.
views/configure_miniorange_authenticator CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_configure_miniorange_authenticator($user){?>
 
 
2
  <div id="mo2f_width">
3
  <?php $mobile_reg_status = get_user_meta($user->ID,'mobile_registration_status',true);
4
  if(!$mobile_reg_status) {
1
+ <?php
2
+
3
+ function mo2f_configure_miniorange_authenticator($user){?>
4
  <div id="mo2f_width">
5
  <?php $mobile_reg_status = get_user_meta($user->ID,'mobile_registration_status',true);
6
  if(!$mobile_reg_status) {
views/customer_registration.php CHANGED
@@ -1,4 +1,6 @@
1
- <?php function display_customer_registration_forms($user){
 
 
2
 
3
  global $Mo2fdbQueries;
4
  $mo2f_current_registration_status = $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID);
1
+ <?php
2
+
3
+ function display_customer_registration_forms($user){
4
 
5
  global $Mo2fdbQueries;
6
  $mo2f_current_registration_status = $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID);
views/feedback_form.php CHANGED
@@ -1,4 +1,6 @@
1
- <?php function display_feedback_form() {
 
 
2
  if ( 'plugins.php' != basename( $_SERVER['PHP_SELF'] ) ) {
3
  return;
4
  }
1
+ <?php
2
+
3
+ function display_feedback_form() {
4
  if ( 'plugins.php' != basename( $_SERVER['PHP_SELF'] ) ) {
5
  return;
6
  }
views/test_email_verification CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_test_email_verification() { ?>
 
 
2
 
3
  <h3><?php echo mo2f_lt( 'Test Email Verification' ); ?></h3>
4
  <hr>
1
+ <?php
2
+
3
+ function mo2f_test_email_verification() { ?>
4
 
5
  <h3><?php echo mo2f_lt( 'Test Email Verification' ); ?></h3>
6
  <hr>
views/test_google_authy_authenticator CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_test_google_authy_authenticator( $user, $method ) {
 
 
2
 
3
  ?>
4
  <h3><?php echo mo2f_lt( 'Test ' ) . mo2f_lt( $method ); ?></h3>
1
+ <?php
2
+
3
+ function mo2f_test_google_authy_authenticator( $user, $method ) {
4
 
5
  ?>
6
  <h3><?php echo mo2f_lt( 'Test ' ) . mo2f_lt( $method ); ?></h3>
views/test_kba_security_questions CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_test_kba_security_questions( $user ) {
 
 
2
  ?>
3
  <h3><?php echo mo2f_lt( 'Test Security Questions( KBA )' ); ?></h3>
4
  <hr>
1
+ <?php
2
+
3
+ function mo2f_test_kba_security_questions( $user ) {
4
  ?>
5
  <h3><?php echo mo2f_lt( 'Test Security Questions( KBA )' ); ?></h3>
6
  <hr>
views/test_miniorange_push_notification CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_test_miniorange_push_notification( $user ) { ?>
 
 
2
 
3
  <h3><?php echo mo2f_lt( 'Test Push Notification' ); ?></h3>
4
  <hr>
1
+ <?php
2
+
3
+ function mo2f_test_miniorange_push_notification( $user ) { ?>
4
 
5
  <h3><?php echo mo2f_lt( 'Test Push Notification' ); ?></h3>
6
  <hr>
views/test_miniorange_soft_token CHANGED
@@ -1,4 +1,6 @@
1
- <?php function mo2f_test_miniorange_soft_token( $user ) {?>
 
 
2
  <div style="width:100%;">
3
  <h3><?php echo mo2f_lt( 'Test Soft Token' ); ?></h3>
4
  <hr>
1
+ <?php
2
+
3
+ function mo2f_test_miniorange_soft_token( $user ) {?>
4
  <div style="width:100%;">
5
  <h3><?php echo mo2f_lt( 'Test Soft Token' ); ?></h3>
6
  <hr>