Version Description
- Google Authenticator (2FA) : Added Alert Message for SMS Transactions only when authentication method is OTP over SMS.
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Google Authenticator – WordPress Two Factor Authentication (2FA) |
Version | 4.4.9 |
Comparing to | |
See all releases |
Code changes from version 4.4.8 to 4.4.9
- miniorange_2_factor_mobile_configuration.php +6 -0
- miniorange_2_factor_settings.php +4 -3
- readme.txt +4 -1
- uninstall.php +2 -0
miniorange_2_factor_mobile_configuration.php
CHANGED
@@ -675,6 +675,12 @@
|
|
675 |
$selectedMethod = 'GOOGLE AUTHENTICATOR';
|
676 |
update_user_meta($current_user->ID,'mo2f_external_app_type','GOOGLE AUTHENTICATOR');
|
677 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
678 |
}?>
|
679 |
<div class="mo2f_table_layout">
|
680 |
<?php
|
675 |
$selectedMethod = 'GOOGLE AUTHENTICATOR';
|
676 |
update_user_meta($current_user->ID,'mo2f_external_app_type','GOOGLE AUTHENTICATOR');
|
677 |
}
|
678 |
+
}
|
679 |
+
|
680 |
+
if($selectedMethod == "OTP Over SMS"){
|
681 |
+
update_option('mo2f_show_sms_transaction_message', 1);
|
682 |
+
}else{
|
683 |
+
update_option('mo2f_show_sms_transaction_message', 0);
|
684 |
}?>
|
685 |
<div class="mo2f_table_layout">
|
686 |
<?php
|
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.
|
7 |
* Author: miniOrange
|
8 |
* Author URI: http://miniorange.com
|
9 |
* License: GPL2
|
@@ -41,6 +41,7 @@ class Miniorange_Authentication {
|
|
41 |
add_option( 'mo2f_enable_forgotphone', 1);
|
42 |
add_option( 'mo2f_enable_xmlrpc', 0);
|
43 |
add_option( 'mo2f_disable_poweredby',0);
|
|
|
44 |
add_option( 'mo2f_custom_plugin_name', 'miniOrange 2-Factor');
|
45 |
add_action( 'admin_menu', array( $this, 'miniorange_auth_menu' ) );
|
46 |
add_action( 'admin_init', array( $this, 'miniorange_auth_save_settings' ) );
|
@@ -53,7 +54,6 @@ class Miniorange_Authentication {
|
|
53 |
add_action('admin_notices', array($this,'get_customer_SMS_transactions'));
|
54 |
|
55 |
|
56 |
-
|
57 |
global $wp_roles;
|
58 |
if (!isset($wp_roles))
|
59 |
$wp_roles = new WP_Roles();
|
@@ -120,7 +120,7 @@ class Miniorange_Authentication {
|
|
120 |
function get_customer_SMS_transactions()
|
121 |
{
|
122 |
|
123 |
-
if(get_option( 'mo_2factor_admin_registration_status') == 'MO_2_FACTOR_CUSTOMER_REGISTERED_SUCCESS'){
|
124 |
if(!get_option('mo2f_set_transactions')){
|
125 |
$customer = new Customer_Setup();
|
126 |
|
@@ -171,6 +171,7 @@ class Miniorange_Authentication {
|
|
171 |
delete_option('mo2f_miniorange_admin');
|
172 |
delete_option('mo2f_number_of_transactions');
|
173 |
delete_option('mo2f_set_transactions');
|
|
|
174 |
global $current_user;
|
175 |
|
176 |
delete_user_meta($current_user->ID,'mo_2factor_user_registration_status');
|
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.9
|
7 |
* Author: miniOrange
|
8 |
* Author URI: http://miniorange.com
|
9 |
* License: GPL2
|
41 |
add_option( 'mo2f_enable_forgotphone', 1);
|
42 |
add_option( 'mo2f_enable_xmlrpc', 0);
|
43 |
add_option( 'mo2f_disable_poweredby',0);
|
44 |
+
add_option( 'mo2f_show_sms_transaction_message', 0);
|
45 |
add_option( 'mo2f_custom_plugin_name', 'miniOrange 2-Factor');
|
46 |
add_action( 'admin_menu', array( $this, 'miniorange_auth_menu' ) );
|
47 |
add_action( 'admin_init', array( $this, 'miniorange_auth_save_settings' ) );
|
54 |
add_action('admin_notices', array($this,'get_customer_SMS_transactions'));
|
55 |
|
56 |
|
|
|
57 |
global $wp_roles;
|
58 |
if (!isset($wp_roles))
|
59 |
$wp_roles = new WP_Roles();
|
120 |
function get_customer_SMS_transactions()
|
121 |
{
|
122 |
|
123 |
+
if(get_option( 'mo_2factor_admin_registration_status') == 'MO_2_FACTOR_CUSTOMER_REGISTERED_SUCCESS' && get_option('mo2f_show_sms_transaction_message')){
|
124 |
if(!get_option('mo2f_set_transactions')){
|
125 |
$customer = new Customer_Setup();
|
126 |
|
171 |
delete_option('mo2f_miniorange_admin');
|
172 |
delete_option('mo2f_number_of_transactions');
|
173 |
delete_option('mo2f_set_transactions');
|
174 |
+
delete_option('mo2f_show_sms_transaction_message');
|
175 |
global $current_user;
|
176 |
|
177 |
delete_user_meta($current_user->ID,'mo_2factor_user_registration_status');
|
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.
|
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.8 =
|
244 |
* Google Authenticator (2FA) : Added Alert Message for SMS Transactions. Fixed Remember Device flow and confliction with themes. Added support for multiple instances of wordpress.
|
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.9
|
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.9 =
|
244 |
+
* Google Authenticator (2FA) : Added Alert Message for SMS Transactions only when authentication method is OTP over SMS.
|
245 |
+
|
246 |
= 4.4.8 =
|
247 |
* Google Authenticator (2FA) : Added Alert Message for SMS Transactions. Fixed Remember Device flow and confliction with themes. Added support for multiple instances of wordpress.
|
248 |
|
uninstall.php
CHANGED
@@ -37,6 +37,7 @@
|
|
37 |
delete_option( 'mo2f_enable_custom_icon' );
|
38 |
delete_option('mo2f_enable_mobile_support');
|
39 |
delete_option( 'mo2f_new_customer' );
|
|
|
40 |
|
41 |
//delete all stored key-value pairs for the roles
|
42 |
global $wp_roles;
|
@@ -88,6 +89,7 @@
|
|
88 |
delete_option( 'mo2f_new_customer' );
|
89 |
delete_option( 'mo2f_number_of_transactions' );
|
90 |
delete_option( 'mo2f_set_transactions' );
|
|
|
91 |
|
92 |
//delete all stored key-value pairs for the roles
|
93 |
global $wp_roles;
|
37 |
delete_option( 'mo2f_enable_custom_icon' );
|
38 |
delete_option('mo2f_enable_mobile_support');
|
39 |
delete_option( 'mo2f_new_customer' );
|
40 |
+
delete_option('mo2f_show_sms_transaction_message');
|
41 |
|
42 |
//delete all stored key-value pairs for the roles
|
43 |
global $wp_roles;
|
89 |
delete_option( 'mo2f_new_customer' );
|
90 |
delete_option( 'mo2f_number_of_transactions' );
|
91 |
delete_option( 'mo2f_set_transactions' );
|
92 |
+
delete_option('mo2f_show_sms_transaction_message');
|
93 |
|
94 |
//delete all stored key-value pairs for the roles
|
95 |
global $wp_roles;
|