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

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : Headers sent issue is security firewall.
Download this release

Release Info

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

Code changes from version 5.4.0 to 5.4.1

api/Mo2f_OnPremRedirect.php CHANGED
@@ -1,7 +1,4 @@
1
-
2
  <?php
3
-
4
-
5
  class Mo2f_OnPremRedirect {
6
 
7
  function OnpremValidateRedirect($authType, $otpToken){
 
1
  <?php
 
 
2
  class Mo2f_OnPremRedirect {
3
 
4
  function OnpremValidateRedirect($authType, $otpToken){
controllers/content-protection.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  global $moWpnsUtility,$mo2f_dirName;
4
 
5
  if(current_user_can( 'manage_options' ) && isset($_POST['option']))
1
  <?php
 
2
  global $moWpnsUtility,$mo2f_dirName;
3
 
4
  if(current_user_can( 'manage_options' ) && isset($_POST['option']))
handler/login.php CHANGED
@@ -1,6 +1,5 @@
1
- <?php
2
-
3
- class LoginHandler
4
  {
5
  function __construct()
6
  {
1
+ <?php
2
+ class LoginHandler
 
3
  {
4
  function __construct()
5
  {
handler/twofa/setup_twofa.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  $setup_dirName = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'setup'.DIRECTORY_SEPARATOR;
4
  $test_dirName = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'test'.DIRECTORY_SEPARATOR;
5
  include $setup_dirName.'setup_google_authenticator.php';
1
  <?php
 
2
  $setup_dirName = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'setup'.DIRECTORY_SEPARATOR;
3
  $test_dirName = dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'test'.DIRECTORY_SEPARATOR;
4
  include $setup_dirName.'setup_google_authenticator.php';
handler/twofa/two_fa_settings.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  include 'two_fa_pass2login.php';
4
  include dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'two_fa_setup_notification.php';
5
  include 'class_miniorange_2fa_strong_password.php';
1
  <?php
 
2
  include 'two_fa_pass2login.php';
3
  include dirname(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR.'views'.DIRECTORY_SEPARATOR.'twofa'.DIRECTORY_SEPARATOR.'two_fa_setup_notification.php';
4
  include 'class_miniorange_2fa_strong_password.php';
miniorange_2_factor_settings.php CHANGED
@@ -3,13 +3,13 @@
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.4.0
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
10
  */
11
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
12
- define( 'MO2F_VERSION', '5.4.0' );
13
  define( 'MO2F_TEST_MODE', FALSE );
14
  define( 'MO2F_IS_ONPREM', get_option('is_onprem'));
15
  class Miniorange_twoFactor{
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.4.1
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
10
  */
11
  define( 'MO_HOST_NAME', 'https://login.xecurify.com' );
12
+ define( 'MO2F_VERSION', '5.4.1' );
13
  define( 'MO2F_TEST_MODE', FALSE );
14
  define( 'MO2F_IS_ONPREM', get_option('is_onprem'));
15
  class Miniorange_twoFactor{
readme.txt CHANGED
@@ -6,7 +6,7 @@ Donate link: https://miniorange.com/
6
  Requires at least: 3.0.1
7
  Tested up to: 5.4
8
  Requires PHP: 5.3.0
9
- Stable tag: 5.4.0
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -272,6 +272,9 @@ miniOrange authentication service has 15+ authentication methods.One time passco
272
 
273
  == Changelog ==
274
 
 
 
 
275
  = 5.4.0 =
276
  * Google Authenticator-Two Factor Authentication (2FA) : Two Factor FAQ Fix and OTP code convinence.
277
 
@@ -747,6 +750,9 @@ More descriptive setup messages and UI changes.
747
 
748
  == Upgrade Notice ==
749
 
 
 
 
750
  = 5.4.0 =
751
  * Google Authenticator-Two Factor Authentication (2FA) : Two Factor FAQ Fix and OTP code convinence.
752
 
6
  Requires at least: 3.0.1
7
  Tested up to: 5.4
8
  Requires PHP: 5.3.0
9
+ Stable tag: 5.4.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
272
 
273
  == Changelog ==
274
 
275
+ = 5.4.1 =
276
+ * Google Authenticator-Two Factor Authentication (2FA) : Headers sent issue is security firewall.
277
+
278
  = 5.4.0 =
279
  * Google Authenticator-Two Factor Authentication (2FA) : Two Factor FAQ Fix and OTP code convinence.
280
 
750
 
751
  == Upgrade Notice ==
752
 
753
+ = 5.4.1 =
754
+ * Google Authenticator-Two Factor Authentication (2FA) : Headers sent issue is security firewall.
755
+
756
  = 5.4.0 =
757
  * Google Authenticator-Two Factor Authentication (2FA) : Two Factor FAQ Fix and OTP code convinence.
758
 
views/twofa/test/test_twofa_kba_questions.php CHANGED
@@ -1,9 +1,6 @@
1
  <?php function mo2f_test_kba_security_questions( $user ) {
2
  $onprem = MO2F_IS_ONPREM;
3
- ?>
4
-
5
- <?php
6
- if($onprem){
7
  ?>
8
  <h3><?php echo mo2f_lt( 'Test Security Questions( KBA )' ); ?></h3>
9
  <hr>
1
  <?php function mo2f_test_kba_security_questions( $user ) {
2
  $onprem = MO2F_IS_ONPREM;
3
+ if($onprem){
 
 
 
4
  ?>
5
  <h3><?php echo mo2f_lt( 'Test Security Questions( KBA )' ); ?></h3>
6
  <hr>