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

Version Description

  • Google Authenticator (2FA) : Fixed the issue of session variable on the login with username page.
Download this release

Release Info

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

Code changes from version 4.4.4 to 4.4.5

class-miniorange-2-factor-login.php CHANGED
@@ -169,7 +169,6 @@ class Miniorange_Mobile_Login{
169
 
170
  // login form fields
171
  function miniorange_login_form_fields($mo2fa_login_status=null, $mo2fa_login_message=null) {
172
- $this->miniorange_login_start_session();
173
  if(get_option('mo2f_show_loginwith_phone')){ //login with phone overwrite default login form
174
 
175
  $login_status_phone_enable = isset($_SESSION[ 'mo_2factor_login_status' ]) ? $_SESSION[ 'mo_2factor_login_status' ] : '';
@@ -177,8 +176,9 @@ class Miniorange_Mobile_Login{
177
  $this->mo_2_factor_show_login_with_password_when_phonelogin_enabled();
178
  $this->mo_2_factor_show_wp_login_form_when_phonelogin_enabled();
179
  $current_user = isset($_SESSION[ 'mo2f_current_user' ]) ? unserialize($_SESSION[ 'mo2f_current_user' ]) : null;
 
180
  ?><script>
181
- jQuery('#user_login').val(<?php echo "'" . $current_user->user_login . "'"; ?>);
182
  </script><?php
183
  }else{
184
  $this->mo_2_factor_show_login();
169
 
170
  // login form fields
171
  function miniorange_login_form_fields($mo2fa_login_status=null, $mo2fa_login_message=null) {
 
172
  if(get_option('mo2f_show_loginwith_phone')){ //login with phone overwrite default login form
173
 
174
  $login_status_phone_enable = isset($_SESSION[ 'mo_2factor_login_status' ]) ? $_SESSION[ 'mo_2factor_login_status' ] : '';
176
  $this->mo_2_factor_show_login_with_password_when_phonelogin_enabled();
177
  $this->mo_2_factor_show_wp_login_form_when_phonelogin_enabled();
178
  $current_user = isset($_SESSION[ 'mo2f_current_user' ]) ? unserialize($_SESSION[ 'mo2f_current_user' ]) : null;
179
+ $mo2f_user_login = is_null($current_user) ? null : $current_user->user_login;
180
  ?><script>
181
+ jQuery('#user_login').val(<?php echo "'" . $mo2f_user_login . "'"; ?>);
182
  </script><?php
183
  }else{
184
  $this->mo_2_factor_show_login();
miniorange_2_factor_settings.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: http://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security for wordpress login. We Support Phone Call, SMS, Email Verification, QR Code, Push, Soft Token, Google Authenticator, Authy, Security Questions(KBA), Woocommerce front-end login, Shortcodes for custom login pages.
6
- * Version: 4.4.4
7
  * Author: miniOrange
8
  * Author URI: http://miniorange.com
9
  * License: GPL2
3
  * Plugin Name: miniOrange 2 Factor Authentication
4
  * Plugin URI: http://miniorange.com
5
  * Description: This plugin provides various two-factor authentication methods as an additional layer of security for wordpress login. We Support Phone Call, SMS, Email Verification, QR Code, Push, Soft Token, Google Authenticator, Authy, Security Questions(KBA), Woocommerce front-end login, Shortcodes for custom login pages.
6
+ * Version: 4.4.5
7
  * Author: miniOrange
8
  * Author URI: http://miniorange.com
9
  * License: GPL2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: miniOrange
3
  Tags: google authenticator, two factor authentication, two factor, 2FA, 2 factor authentication, two step verification, 1 google authenticator, login, authy, authy two factor, Clef, 2 Factor, yubico, Two-Factor Authentication, Mobile Authentication, otp, strong authentication, 2 step authentication, smartphone authentication, Multifactor authentication, multi factor authentication, multi factor, no password, passwordless login, security, website security, one time passcode, password, soft token, woocommerce, authenticate, two factor auth, two-factor, duo, QR Code, QR Code Authentication, scan QR Code, wordfence, login security, google authenticator, google , email verification, trusted device, device Id , KBA , knowledge based authentication
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7.3
6
- Stable tag: 4.4.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -240,6 +240,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
240
 
241
  == Changelog ==
242
 
 
 
 
243
  = 4.4.4 =
244
  * Google Authenticator (2FA) : Added alert messages for OTP over SMS usages.
245
 
3
  Tags: google authenticator, two factor authentication, two factor, 2FA, 2 factor authentication, two step verification, 1 google authenticator, login, authy, authy two factor, Clef, 2 Factor, yubico, Two-Factor Authentication, Mobile Authentication, otp, strong authentication, 2 step authentication, smartphone authentication, Multifactor authentication, multi factor authentication, multi factor, no password, passwordless login, security, website security, one time passcode, password, soft token, woocommerce, authenticate, two factor auth, two-factor, duo, QR Code, QR Code Authentication, scan QR Code, wordfence, login security, google authenticator, google , email verification, trusted device, device Id , KBA , knowledge based authentication
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7.3
6
+ Stable tag: 4.4.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
240
 
241
  == Changelog ==
242
 
243
+ = 4.4.5 =
244
+ * Google Authenticator (2FA) : Fixed the issue of session variable on the login with username page.
245
+
246
  = 4.4.4 =
247
  * Google Authenticator (2FA) : Added alert messages for OTP over SMS usages.
248