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

Version Description

  • Google Authenticator (2FA) : Plugin registration fixes and minor warning fixes.
Download this release

Release Info

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

Code changes from version 4.6.1 to 4.6.2

Files changed (2) hide show
  1. miniorange_2_factor_settings.php +5 -5
  2. readme.txt +7 -1
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 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.6.1
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
@@ -436,7 +436,7 @@ class Miniorange_Authentication {
436
  return;
437
  }else{
438
  $email = sanitize_email( $_POST['email'] );
439
- $password = sanitize_text_field( $_POST['password'] );
440
  }
441
 
442
  update_option( 'mo2f_email', $email );
@@ -516,7 +516,7 @@ class Miniorange_Authentication {
516
  }
517
  }
518
 
519
- if(isset($_POST['option']) and trim($_POST['option']) == "mo_2factor_resend_otp"){ //resend OTP over email for admin
520
  $customer = new Customer_Setup();
521
  $content = json_decode($customer->send_otp_token(get_option('mo2f_email'),'EMAIL',$this->defaultCustomerKey,$this->defaultApiKey), true);
522
  if(strcasecmp($content['status'], 'SUCCESS') == 0) {
@@ -765,7 +765,7 @@ class Miniorange_Authentication {
765
  }
766
 
767
 
768
- if(isset($_POST['option']) and trim($_POST['option']) == "mo_auth_sync_sms_transactions") {
769
  $customer = new Customer_Setup();
770
  $content = json_decode($customer->get_customer_transactions(get_option( 'mo2f_customerKey'),get_option( 'mo2f_api_key')), true);
771
  if(!array_key_exists('smsRemaining', $content)){
@@ -786,7 +786,7 @@ class Miniorange_Authentication {
786
  }
787
 
788
 
789
- if(isset($_POST['option']) and trim($_POST['option']) == "mo_2factor_resend_user_otp"){ //resend OTP over email for additional admin and non-admin user
790
  $customer = new Customer_Setup();
791
  $content = json_decode($customer->send_otp_token(get_user_meta($current_user->ID,'mo_2factor_user_email',true),'EMAIL',get_option('mo2f_customerKey'),get_option('mo2f_api_key')), true);
792
  if(strcasecmp($content['status'], 'SUCCESS') == 0) {
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 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.6.2
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
436
  return;
437
  }else{
438
  $email = sanitize_email( $_POST['email'] );
439
+ $password = sanitize_text_field( stripslashes($_POST["password"]) );
440
  }
441
 
442
  update_option( 'mo2f_email', $email );
516
  }
517
  }
518
 
519
+ if(isset($_POST['option']) and $_POST['option'] == "mo_2factor_resend_otp"){ //resend OTP over email for admin
520
  $customer = new Customer_Setup();
521
  $content = json_decode($customer->send_otp_token(get_option('mo2f_email'),'EMAIL',$this->defaultCustomerKey,$this->defaultApiKey), true);
522
  if(strcasecmp($content['status'], 'SUCCESS') == 0) {
765
  }
766
 
767
 
768
+ if(isset($_POST['option']) and $_POST['option'] == "mo_auth_sync_sms_transactions") {
769
  $customer = new Customer_Setup();
770
  $content = json_decode($customer->get_customer_transactions(get_option( 'mo2f_customerKey'),get_option( 'mo2f_api_key')), true);
771
  if(!array_key_exists('smsRemaining', $content)){
786
  }
787
 
788
 
789
+ if(isset($_POST['option']) and $_POST['option'] == "mo_2factor_resend_user_otp"){ //resend OTP over email for additional admin and non-admin user
790
  $customer = new Customer_Setup();
791
  $content = json_decode($customer->send_otp_token(get_user_meta($current_user->ID,'mo_2factor_user_email',true),'EMAIL',get_option('mo2f_customerKey'),get_option('mo2f_api_key')), true);
792
  if(strcasecmp($content['status'], 'SUCCESS') == 0) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://miniorange.com/
4
  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
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
- Stable tag: 4.6.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -250,6 +250,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
250
 
251
  == Changelog ==
252
 
 
 
 
253
  = 4.6.1 =
254
  * Google Authenticator (2FA) : Login error fix. Please skip version 4.5.9 and update to version 4.6.1
255
 
@@ -493,6 +496,9 @@ More descriptive setup messages and UI changes.
493
 
494
  == Upgrade Notice ==
495
 
 
 
 
496
  = 4.6.1 =
497
  * Google Authenticator (2FA) : Login error fix. Please skip version 4.5.9 and update to version 4.6.1
498
 
4
  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
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
+ Stable tag: 4.6.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
250
 
251
  == Changelog ==
252
 
253
+ = 4.6.2 =
254
+ * Google Authenticator (2FA) : Plugin registration fixes and minor warning fixes.
255
+
256
  = 4.6.1 =
257
  * Google Authenticator (2FA) : Login error fix. Please skip version 4.5.9 and update to version 4.6.1
258
 
496
 
497
  == Upgrade Notice ==
498
 
499
+ = 4.6.2 =
500
+ * Google Authenticator (2FA) : Plugin registration fixes and minor warning fixes.
501
+
502
  = 4.6.1 =
503
  * Google Authenticator (2FA) : Login error fix. Please skip version 4.5.9 and update to version 4.6.1
504