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

Version Description

  • Google Authenticator-Two Factor Authentication (2FA) : Added new user plans.
Download this release

Release Info

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

Code changes from version 5.0.17 to 5.1.0

class-customer-setup.php CHANGED
@@ -123,7 +123,7 @@ class Customer_Setup {
123
  $customer_feature="V3";
124
  }
125
 
126
- $query = '[WordPress 2 Factor Authentication Plugin: '.$customer_feature.' - V 5.0.17]: ' . $message;
127
 
128
 
129
  $content='<div >First Name :'.$user->user_firstname.'<br><br>Last Name :'.$user->user_lastname.' <br><br>Company :<a href="'.$_SERVER['SERVER_NAME'].'" target="_blank" >'.$_SERVER['SERVER_NAME'].'</a><br><br>Phone Number :'.$phone.'<br><br>Email :<a href="mailto:'.$fromEmail.'" target="_blank">'.$fromEmail.'</a><br><br>Query :'.$query.'</div>';
@@ -624,7 +624,7 @@ class Customer_Setup {
624
  $customer_feature="V3";
625
  }
626
 
627
- $query = '[WordPress 2 Factor Authentication Plugin: '.$customer_feature.' - V 5.0.17]: ' . $query;
628
  $fields = array(
629
  'firstName' => $user->user_firstname,
630
  'lastName' => $user->user_lastname,
123
  $customer_feature="V3";
124
  }
125
 
126
+ $query = '[WordPress 2 Factor Authentication Plugin: '.$customer_feature.' - V 5.1.0]: ' . $message;
127
 
128
 
129
  $content='<div >First Name :'.$user->user_firstname.'<br><br>Last Name :'.$user->user_lastname.' <br><br>Company :<a href="'.$_SERVER['SERVER_NAME'].'" target="_blank" >'.$_SERVER['SERVER_NAME'].'</a><br><br>Phone Number :'.$phone.'<br><br>Email :<a href="mailto:'.$fromEmail.'" target="_blank">'.$fromEmail.'</a><br><br>Query :'.$query.'</div>';
624
  $customer_feature="V3";
625
  }
626
 
627
+ $query = '[WordPress 2 Factor Authentication Plugin: '.$customer_feature.' - V 5.1.0]: ' . $query;
628
  $fields = array(
629
  'firstName' => $user->user_firstname,
630
  'lastName' => $user->user_lastname,
includes/css/style_settings.css CHANGED
@@ -754,5 +754,33 @@ a {
754
  border-color: #c28f37 !important
755
  }
756
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
757
 
758
 
754
  border-color: #c28f37 !important
755
  }
756
 
757
+ /* The alert message box */
758
+ .alert {
759
+ font-style: italic;
760
+ padding: 10px;
761
+ background-color: yellowgreen; /* Red */
762
+ color: white;
763
+ margin-bottom: 15px;
764
+ border-radius:5px;
765
+ }
766
+
767
+ /* The close button */
768
+ .closebtn {
769
+ margin-left: 15px;
770
+ color: white;
771
+ font-weight: bold;
772
+ float: right;
773
+ font-size: 22px;
774
+ line-height: 10px;
775
+ cursor: pointer;
776
+ height: 8px;
777
+ transition: 0.3s;
778
+ }
779
+
780
+ /* When moving the mouse over the close button */
781
+ .closebtn:hover {
782
+ color: black;
783
+ }
784
+
785
 
786
 
miniorange_2_factor_configuration.php CHANGED
@@ -145,9 +145,9 @@ function mo_2_factor_register( $user ) {
145
  mo2f_show_verify_password_page(); //verify password page
146
  } else if ( ! mo2f_is_customer_registered() ) {
147
  delete_option( 'password_mismatch' );
148
- if(get_option('mo2f_gdpr_note')){
149
- mo2f_show_registration_page( $user ); //new registration page
150
- }else{
151
  mo2f_gdpr_note();
152
  }
153
  }
@@ -176,7 +176,7 @@ function mo2f_show_registration_page( $user ) {
176
  <form name="f" method="post" action="">
177
  <input type="hidden" name="option" value="mo_auth_register_customer"/>
178
  <div class="mo2f_table_layout">
179
-
180
  <h3><span><?php echo mo2f_lt( 'Register with miniOrange' ); ?></span></h3>
181
  <hr>
182
  <div id="panel1">
@@ -231,7 +231,13 @@ function mo2f_show_registration_page( $user ) {
231
  <td><input class="mo2f_table_textbox" type="password" required name="confirmPassword"/></td>
232
  </tr>
233
 
234
- <tr><td></td><td><input type="checkbox" id="mo2f_gdpr" name="mo2f_gdpr" required />I agree to the <a href="https://www.miniorange.com/2-factor-authentication-for-wordpress-gdpr" target="_blank"><u>terms & conditions</u></a> of the Privacy Policy of miniOrange.<br/></td></tr>
 
 
 
 
 
 
235
  <tr>
236
 
237
  <td>&nbsp;</td>
@@ -259,86 +265,87 @@ function mo2f_show_registration_page( $user ) {
259
  <?php
260
  }
261
 
262
- function mo2f_gdpr_note(){
263
- ?>
264
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
265
  integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
266
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
267
- <?php echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.0.17', __FILE__ ) . '" />';
268
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.0.17', __FILE__ ) . '" />';
269
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.0.17', __FILE__ ) . '" />';
270
- echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.0.17', __FILE__ ) . '" />';
271
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
272
  ?>
273
- <div class="modal fade" id="myModal" role="dialog"
274
- style="margin-top:40px;overflow-y: scroll;overflow-x: scroll;" data-backdrop="static"
275
- data-keyboard="false">
276
- <div class="modal-dialog">
277
- <div class="modal-content">
278
- <div class="modal-header">
279
- <h4 class="modal-title">
280
-
281
- Privacy Policy </h4>
282
- </div>
283
-
284
- <br>
285
- <div style="margin-left:2%">
286
- <p>
287
- We have updated our Privacy Policy and made changes in the plugin to make it more secure for users using our plugin.
288
- </p>
289
- </div>
290
-
291
-
292
-
293
- <div class="modal-footer">
294
- <form name="f" method="post" action="" id="mo2f_gdpr">
295
- <input type="hidden" name="mo2f_gdpr_note" value="mo2f_gdpr_note"/>
296
- <div style="margin-left:2%">
297
- <input type="submit" name="miniorange_gdpr_policy_note" class="button button-primary button-large" value="Okay" />
298
-
299
- </div>
300
- </form>
301
-
302
- </div>
303
- <style>
304
- .here{
305
- border-bottom: 1px solid;
306
- border-left: 0px solid;
307
- border-right: 0px solid;
308
- border-top: 0px solid;
309
-
310
- }
311
- .here :focus{
312
- border-bottom: 1px solid;
313
-
314
- }
315
- input[type=text]:focus {
316
- border-bottom: 1px solid blue;
317
- }
318
- </style>
319
-
320
-
321
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
322
 
323
  </div>
324
- </div>
325
 
 
 
326
 
327
 
328
-
329
- <script>
330
- jQuery(function () {
331
- jQuery('#myModal').modal('toggle');
332
- });
333
- jQuery('#User_student').click(function () {
334
- jQuery('#user_is_student').submit();
335
- });
336
- jQuery('#User_Parent').click(function () {
337
- jQuery('#user_is_parent').submit();
338
- });
339
- </script>
340
 
341
- <?php
342
  }
343
 
344
  function mo2f_show_otp_validation_page( $user ) {
@@ -350,6 +357,11 @@ function mo2f_show_otp_validation_page( $user ) {
350
  <div class="mo2f_table_layout">
351
  <h3><?php echo mo2f_lt( 'Validate OTP' ); ?></h3>
352
  <hr>
 
 
 
 
 
353
  <div id="panel1">
354
  <table class="mo2f_settings_table">
355
  <form name="f" method="post" id="mo_2f_otp_form" action="">
@@ -689,72 +701,75 @@ function show_custom_content() {
689
  <?php
690
  }
691
 
692
- function show_2_factor_proxy_setup($user){
693
  global $Mo2fdbQueries;
694
  ?>
695
 
696
-
697
- <div class="mo2f_proxy_setup">
698
- <h3>Proxy Settings</h3>
699
 
 
 
700
 
701
- <hr><br>
702
- <div style="float:right;">
703
- <form name="f" method="post" action="" id="mo2f_disable_proxy_setup_form">
704
- <input type="hidden" name="option" value="mo2f_disable_proxy_setup_option"/>
705
 
706
- <input type="submit" name="submit" style="float:right"
707
- value="<?php echo mo2f_lt( 'Reset Proxy Settings' ); ?>"
708
- class="button button-primary button-large"
 
 
709
 
710
- <?php if ( $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID ) != 'MO_2_FACTOR_PLUGIN_SETTINGS' || ! get_option('mo2f_proxy_host')) {
711
- echo 'disabled';
712
- } ?>
713
- />
714
 
715
- </form>
716
- </div>
717
- <br><br>
718
- <form name="f" method="post" action="">
719
- <input type="hidden" name="option" value="mo2f_save_proxy_settings"/>
720
- <table class="mo2f_settings_table">
721
- <tr>
722
 
723
- <td style="width:30%"><b><span class="impt">*</span><?php echo mo2f_lt( 'Proxy Host Name: ' ); ?></b></td>
724
- <td style="width:70%"><input class="mo2f_table_textbox" type="text" name="proxyHost" required
725
- value="<?php echo get_option( 'mo2f_proxy_host' ); ?>"/></td>
726
- </tr>
727
- <tr>
 
 
728
 
729
- <td style="width:30%"><b><span class="impt">*</span><?php echo mo2f_lt( 'Port Number: ' ); ?></b></td>
730
- <td style="width:70%"><input class="mo2f_table_textbox" type="number" name="portNumber" required
731
- value="<?php echo get_option( 'mo2f_port_number' ); ?>"/></td>
732
- </tr>
733
- <tr>
 
734
 
735
- <td style="width:30%"><b><?php echo mo2f_lt( 'Username: ' ); ?></b></td>
736
- <td style="width:70%"><input class="mo2f_table_textbox" type="text" name="proxyUsername"
737
- value="<?php echo get_option( 'mo2f_proxy_username' ); ?>"/></td>
738
- </tr>
739
- <tr>
 
740
 
741
- <td style="width:30%"><b><?php echo mo2f_lt( 'Password: ' ); ?></b></td>
742
- <td style="width:70%"><input class="mo2f_table_textbox" type="password" name="proxyPass"
743
- value="<?php echo get_option( 'mo2f_proxy_password' ); ?>"/></td>
744
- </tr>
 
745
 
746
- <tr>
 
 
 
747
 
748
- <td>&nbsp;</td>
749
- <td><input type="submit" name="submit" style="float:right"
750
- value="<?php echo mo2f_lt( 'Save Settings' ); ?>"
751
- class="button button-primary button-large"
752
- <?php if ( $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID ) != 'MO_2_FACTOR_PLUGIN_SETTINGS' ) {
753
- echo 'disabled';
754
- } ?> /></td>
755
- </tr>
756
 
757
- </table>
 
 
 
 
 
 
 
 
 
758
  </div>
759
  </form>
760
  <?php }
@@ -1050,12 +1065,18 @@ function mo2f_show_verify_password_page() {
1050
  <td><b><font color="#FF0000">*</font><?php echo mo2f_lt( 'Password:' ); ?></b></td>
1051
  <td><input class="mo2f_table_textbox" type="password" name="password" required/></td>
1052
  </tr>
1053
-
1054
- <tr><td></td><td><input type="checkbox" id="mo2f_gdpr" name="mo2f_gdpr" required />I agree to <a href="https://www.miniorange.com/2-factor-authentication-for-wordpress-gdpr" target="_blank"><u>terms & conditions</u></a> of the Privacy Policy of miniOrange.<br/></td></tr>
 
 
 
 
 
 
1055
  <tr>
1056
  <td colspan="2">&nbsp;</td>
1057
  </tr>
1058
-
1059
  <tr>
1060
  <td>&nbsp;</td>
1061
  <td>
145
  mo2f_show_verify_password_page(); //verify password page
146
  } else if ( ! mo2f_is_customer_registered() ) {
147
  delete_option( 'password_mismatch' );
148
+ if ( get_option( 'mo2f_gdpr_note' ) ) {
149
+ mo2f_show_registration_page( $user ); //new registration page
150
+ } else {
151
  mo2f_gdpr_note();
152
  }
153
  }
176
  <form name="f" method="post" action="">
177
  <input type="hidden" name="option" value="mo_auth_register_customer"/>
178
  <div class="mo2f_table_layout">
179
+
180
  <h3><span><?php echo mo2f_lt( 'Register with miniOrange' ); ?></span></h3>
181
  <hr>
182
  <div id="panel1">
231
  <td><input class="mo2f_table_textbox" type="password" required name="confirmPassword"/></td>
232
  </tr>
233
 
234
+ <tr>
235
+ <td></td>
236
+ <td><input type="checkbox" id="mo2f_gdpr" name="mo2f_gdpr" required/>I agree to the <a
237
+ href="https://www.miniorange.com/2-factor-authentication-for-wordpress-gdpr"
238
+ target="_blank"><u>terms & conditions</u></a> of the Privacy Policy of
239
+ miniOrange.<br/></td>
240
+ </tr>
241
  <tr>
242
 
243
  <td>&nbsp;</td>
265
  <?php
266
  }
267
 
268
+ function mo2f_gdpr_note() {
269
+ ?>
270
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
271
  integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
272
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
273
+ <?php echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/bootstrap.min.css?version=5.1.0', __FILE__ ) . '" />';
274
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/front_end_login.css?version=5.1.0', __FILE__ ) . '" />';
275
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/style_settings.css?version=5.1.0', __FILE__ ) . '" />';
276
+ echo '<link rel="stylesheet" type="text/css" href="' . plugins_url( 'includes/css/hide-login.css?version=5.1.0', __FILE__ ) . '" />';
277
  echo '<script src="' . plugins_url( 'includes/js/bootstrap.min.js', __FILE__ ) . '" ></script>';
278
  ?>
279
+ <div class="modal fade" id="myModal" role="dialog"
280
+ style="margin-top:40px;overflow-y: scroll;overflow-x: scroll;" data-backdrop="static"
281
+ data-keyboard="false">
282
+ <div class="modal-dialog">
283
+ <div class="modal-content">
284
+ <div class="modal-header">
285
+ <h4 class="modal-title">
286
+
287
+ Privacy Policy </h4>
288
+ </div>
289
+
290
+ <br>
291
+ <div style="margin-left:2%">
292
+ <p>
293
+ We have updated our Privacy Policy and made changes in the plugin to make it more secure for
294
+ users using our plugin.
295
+ </p>
296
+ </div>
297
+
298
+
299
+ <div class="modal-footer">
300
+ <form name="f" method="post" action="" id="mo2f_gdpr">
301
+ <input type="hidden" name="mo2f_gdpr_note" value="mo2f_gdpr_note"/>
302
+ <div style="margin-left:2%">
303
+ <input type="submit" name="miniorange_gdpr_policy_note"
304
+ class="button button-primary button-large" value="Okay"/>
305
+
306
+ </div>
307
+ </form>
308
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  </div>
310
+ <style>
311
+ .here {
312
+ border-bottom: 1px solid;
313
+ border-left: 0px solid;
314
+ border-right: 0px solid;
315
+ border-top: 0px solid;
316
+
317
+ }
318
+
319
+ .here :focus {
320
+ border-bottom: 1px solid;
321
+
322
+ }
323
+
324
+ input[type=text]:focus {
325
+ border-bottom: 1px solid blue;
326
+ }
327
+ </style>
328
+
329
 
330
  </div>
 
331
 
332
+ </div>
333
+ </div>
334
 
335
 
336
+ <script>
337
+ jQuery(function () {
338
+ jQuery('#myModal').modal('toggle');
339
+ });
340
+ jQuery('#User_student').click(function () {
341
+ jQuery('#user_is_student').submit();
342
+ });
343
+ jQuery('#User_Parent').click(function () {
344
+ jQuery('#user_is_parent').submit();
345
+ });
346
+ </script>
 
347
 
348
+ <?php
349
  }
350
 
351
  function mo2f_show_otp_validation_page( $user ) {
357
  <div class="mo2f_table_layout">
358
  <h3><?php echo mo2f_lt( 'Validate OTP' ); ?></h3>
359
  <hr>
360
+ <div class="alert">
361
+ <span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
362
+ If you are not able to receive an One Time Passcode over Email, you can click <b><a href="#phone_verification">here</a></b> to receive it over your
363
+ phone number, or create an account <b><a href="https://www.miniorange.com/businessfreetrial" target="_blank">here</a></b>.
364
+ </div>
365
  <div id="panel1">
366
  <table class="mo2f_settings_table">
367
  <form name="f" method="post" id="mo_2f_otp_form" action="">
701
  <?php
702
  }
703
 
704
+ function show_2_factor_proxy_setup( $user ) {
705
  global $Mo2fdbQueries;
706
  ?>
707
 
 
 
 
708
 
709
+ <div class="mo2f_proxy_setup">
710
+ <h3>Proxy Settings</h3>
711
 
 
 
 
 
712
 
713
+ <hr>
714
+ <br>
715
+ <div style="float:right;">
716
+ <form name="f" method="post" action="" id="mo2f_disable_proxy_setup_form">
717
+ <input type="hidden" name="option" value="mo2f_disable_proxy_setup_option"/>
718
 
719
+ <input type="submit" name="submit" style="float:right"
720
+ value="<?php echo mo2f_lt( 'Reset Proxy Settings' ); ?>"
721
+ class="button button-primary button-large"
 
722
 
723
+ <?php if ( $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID ) != 'MO_2_FACTOR_PLUGIN_SETTINGS' || ! get_option( 'mo2f_proxy_host' ) ) {
724
+ echo 'disabled';
725
+ } ?>
726
+ />
 
 
 
727
 
728
+ </form>
729
+ </div>
730
+ <br><br>
731
+ <form name="f" method="post" action="">
732
+ <input type="hidden" name="option" value="mo2f_save_proxy_settings"/>
733
+ <table class="mo2f_settings_table">
734
+ <tr>
735
 
736
+ <td style="width:30%"><b><span class="impt">*</span><?php echo mo2f_lt( 'Proxy Host Name: ' ); ?>
737
+ </b></td>
738
+ <td style="width:70%"><input class="mo2f_table_textbox" type="text" name="proxyHost" required
739
+ value="<?php echo get_option( 'mo2f_proxy_host' ); ?>"/></td>
740
+ </tr>
741
+ <tr>
742
 
743
+ <td style="width:30%"><b><span class="impt">*</span><?php echo mo2f_lt( 'Port Number: ' ); ?></b>
744
+ </td>
745
+ <td style="width:70%"><input class="mo2f_table_textbox" type="number" name="portNumber" required
746
+ value="<?php echo get_option( 'mo2f_port_number' ); ?>"/></td>
747
+ </tr>
748
+ <tr>
749
 
750
+ <td style="width:30%"><b><?php echo mo2f_lt( 'Username: ' ); ?></b></td>
751
+ <td style="width:70%"><input class="mo2f_table_textbox" type="text" name="proxyUsername"
752
+ value="<?php echo get_option( 'mo2f_proxy_username' ); ?>"/></td>
753
+ </tr>
754
+ <tr>
755
 
756
+ <td style="width:30%"><b><?php echo mo2f_lt( 'Password: ' ); ?></b></td>
757
+ <td style="width:70%"><input class="mo2f_table_textbox" type="password" name="proxyPass"
758
+ value="<?php echo get_option( 'mo2f_proxy_password' ); ?>"/></td>
759
+ </tr>
760
 
761
+ <tr>
 
 
 
 
 
 
 
762
 
763
+ <td>&nbsp;</td>
764
+ <td><input type="submit" name="submit" style="float:right"
765
+ value="<?php echo mo2f_lt( 'Save Settings' ); ?>"
766
+ class="button button-primary button-large"
767
+ <?php if ( $Mo2fdbQueries->get_user_detail( 'mo_2factor_user_registration_status', $user->ID ) != 'MO_2_FACTOR_PLUGIN_SETTINGS' ) {
768
+ echo 'disabled';
769
+ } ?> /></td>
770
+ </tr>
771
+
772
+ </table>
773
  </div>
774
  </form>
775
  <?php }
1065
  <td><b><font color="#FF0000">*</font><?php echo mo2f_lt( 'Password:' ); ?></b></td>
1066
  <td><input class="mo2f_table_textbox" type="password" name="password" required/></td>
1067
  </tr>
1068
+
1069
+ <tr>
1070
+ <td></td>
1071
+ <td><input type="checkbox" id="mo2f_gdpr" name="mo2f_gdpr" required/>I agree to <a
1072
+ href="https://www.miniorange.com/2-factor-authentication-for-wordpress-gdpr"
1073
+ target="_blank"><u>terms & conditions</u></a> of the Privacy Policy of
1074
+ miniOrange.<br/></td>
1075
+ </tr>
1076
  <tr>
1077
  <td colspan="2">&nbsp;</td>
1078
  </tr>
1079
+
1080
  <tr>
1081
  <td>&nbsp;</td>
1082
  <td>
miniorange_2_factor_mobile_configuration.php CHANGED
@@ -1309,14 +1309,15 @@ function mo2f_yearly_standard_pricing() {
1309
  id="mo2f_yearly_sub"><?php echo __( 'Yearly Subscription Fees', 'miniorange-2-factor-authentication' ); ?>
1310
 
1311
  <select id="mo2f_yearly" class="form-control" style="border-radius:5px;width:200px;">
1312
- <option> <?php echo mo2f_lt( '1 - 5 users - $20 per year' ); ?> </option>
1313
- <option> <?php echo mo2f_lt( '5 - 50 users - $30 per year' ); ?> </option>
1314
- <option> <?php echo mo2f_lt( '50 - 100 users - $49 per year' ); ?> </option>
1315
- <option> <?php echo mo2f_lt( '100 - 500 users - $99 per year' ); ?> </option>
1316
- <option> <?php echo mo2f_lt( '500 - 1000 users - $199 per year' ); ?> </option>
1317
- <option> <?php echo mo2f_lt( '1000 - 5000 users - $299 per year' ); ?> </option>
1318
- <option> <?php echo mo2f_lt( '5000 - 10000 users - $499 per year' ); ?></option>
1319
- <option> <?php echo mo2f_lt( '10000 - 20000 users - $799 per year' ); ?> </option>
 
1320
  </select>
1321
  </p>
1322
  <?php
@@ -1329,14 +1330,15 @@ function mo2f_yearly_premium_pricing() {
1329
  id="mo2f_yearly_sub"><?php echo __( 'Yearly Subscription Fees', 'miniorange-2-factor-authentication' ); ?>
1330
 
1331
  <select id="mo2f_yearly" class="form-control" style="border-radius:5px;width:200px;">
1332
- <option> <?php echo mo2f_lt( '1 - 5 users - $30 per year' ); ?> </option>
1333
- <option> <?php echo mo2f_lt( '5 - 50 users - $99 per year' ); ?> </option>
1334
- <option> <?php echo mo2f_lt( '50 - 100 users - $199 per year' ); ?> </option>
1335
- <option> <?php echo mo2f_lt( '100 - 500 users - $349 per year' ); ?> </option>
1336
- <option> <?php echo mo2f_lt( '500 - 1000 users - $499 per year' ); ?> </option>
1337
- <option> <?php echo mo2f_lt( '1000 - 5000 users - $799 per year' ); ?> </option>
1338
- <option> <?php echo mo2f_lt( '5000 - 10000 users - $999 per year ' ); ?></option>
1339
- <option> <?php echo mo2f_lt( '10000 - 20000 users - $1449 per year' ); ?> </option>
 
1340
  </select>
1341
  </p>
1342
  <?php
1309
  id="mo2f_yearly_sub"><?php echo __( 'Yearly Subscription Fees', 'miniorange-2-factor-authentication' ); ?>
1310
 
1311
  <select id="mo2f_yearly" class="form-control" style="border-radius:5px;width:200px;">
1312
+ <option> <?php echo mo2f_lt( '1 - 2 users - $5 per year' ); ?> </option>
1313
+ <option> <?php echo mo2f_lt( '3 - 5 users - $20 per year' ); ?> </option>
1314
+ <option> <?php echo mo2f_lt( '6 - 50 users - $30 per year' ); ?> </option>
1315
+ <option> <?php echo mo2f_lt( '51 - 100 users - $49 per year' ); ?> </option>
1316
+ <option> <?php echo mo2f_lt( '101 - 500 users - $99 per year' ); ?> </option>
1317
+ <option> <?php echo mo2f_lt( '501 - 1000 users - $199 per year' ); ?> </option>
1318
+ <option> <?php echo mo2f_lt( '1001 - 5000 users - $299 per year' ); ?> </option>
1319
+ <option> <?php echo mo2f_lt( '5001 - 10000 users - $499 per year' ); ?></option>
1320
+ <option> <?php echo mo2f_lt( '10001 - 20000 users - $799 per year' ); ?> </option>
1321
  </select>
1322
  </p>
1323
  <?php
1330
  id="mo2f_yearly_sub"><?php echo __( 'Yearly Subscription Fees', 'miniorange-2-factor-authentication' ); ?>
1331
 
1332
  <select id="mo2f_yearly" class="form-control" style="border-radius:5px;width:200px;">
1333
+ <option> <?php echo mo2f_lt( '1 - 2 users - $8 per year' ); ?> </option>
1334
+ <option> <?php echo mo2f_lt( '3 - 5 users - $30 per year' ); ?> </option>
1335
+ <option> <?php echo mo2f_lt( '6 - 50 users - $99 per year' ); ?> </option>
1336
+ <option> <?php echo mo2f_lt( '51 - 100 users - $199 per year' ); ?> </option>
1337
+ <option> <?php echo mo2f_lt( '101 - 500 users - $349 per year' ); ?> </option>
1338
+ <option> <?php echo mo2f_lt( '501 - 1000 users - $499 per year' ); ?> </option>
1339
+ <option> <?php echo mo2f_lt( '1001 - 5000 users - $799 per year' ); ?> </option>
1340
+ <option> <?php echo mo2f_lt( '5001 - 10000 users - $999 per year ' ); ?></option>
1341
+ <option> <?php echo mo2f_lt( '10001 - 20000 users - $1449 per year' ); ?> </option>
1342
  </select>
1343
  </p>
1344
  <?php
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 Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
- * Version: 5.0.17
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
@@ -428,20 +428,20 @@ class Miniorange_Authentication {
428
  }
429
 
430
  function mo_2_factor_enable_frontend_style() {
431
- wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.0.17', __FILE__ ) );
432
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.0.17', __FILE__ ) );
433
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.0.17', __FILE__ ) );
434
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
435
- wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.0.17', __FILE__ ) );
436
  }
437
 
438
  function plugin_settings_style($mo2fa_hook_page) {
439
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
440
  return;
441
  }
442
- wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.0.17', __FILE__ ) );
443
- wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.0.17', __FILE__ ) );
444
- wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.0.17', __FILE__ ) );
445
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
446
  }
447
 
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 Authenticator, QR Code, Push Notification, Soft Token and Security Questions(KBA) for 1 User in the free version of the plugin.
6
+ * Version: 5.1.0
7
  * Author: miniOrange
8
  * Author URI: https://miniorange.com
9
  * License: GPL2
428
  }
429
 
430
  function mo_2_factor_enable_frontend_style() {
431
+ wp_enqueue_style( 'mo2f_frontend_login_style', plugins_url( 'includes/css/front_end_login.css?version=5.1.0', __FILE__ ) );
432
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.0', __FILE__ ) );
433
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.0', __FILE__ ) );
434
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
435
+ wp_enqueue_style( 'mo2f_login_popup_style', plugins_url( 'includes/css/mo2f_login_popup_ui.css?version=5.1.0', __FILE__ ) );
436
  }
437
 
438
  function plugin_settings_style($mo2fa_hook_page) {
439
  if ( 'toplevel_page_miniOrange_2_factor_settings' != $mo2fa_hook_page ) {
440
  return;
441
  }
442
+ wp_enqueue_style( 'mo_2_factor_admin_settings_style', plugins_url( 'includes/css/style_settings.css?version=5.1.0', __FILE__ ) );
443
+ wp_enqueue_style( 'mo_2_factor_admin_settings_phone_style', plugins_url( 'includes/css/phone.css?version=5.1.0', __FILE__ ) );
444
+ wp_enqueue_style( 'bootstrap_style', plugins_url( 'includes/css/bootstrap.min.css?version=5.1.0', __FILE__ ) );
445
  wp_enqueue_style( 'mo_2_factor_wpb-fa', plugins_url( 'includes/css/font-awesome.min.css', __FILE__ ) );
446
  }
447
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://miniorange.com/
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3.0
8
- Stable tag: 5.0.17
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -222,7 +222,10 @@ miniOrange authentication service has 15+ authentication methods.One time passco
222
 
223
  == Changelog ==
224
 
225
- = 5.0.17 =
 
 
 
226
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix.
227
 
228
  = 5.0.16 =
@@ -523,7 +526,10 @@ More descriptive setup messages and UI changes.
523
 
524
  == Upgrade Notice ==
525
 
526
- = 5.0.17 =
 
 
 
527
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix.
528
 
529
  = 5.0.16 =
5
  Requires at least: 3.0.1
6
  Tested up to: 4.9.4
7
  Requires PHP: 5.3.0
8
+ Stable tag: 5.1.0
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
222
 
223
  == Changelog ==
224
 
225
+ = 5.1.0 =
226
+ * Google Authenticator-Two Factor Authentication (2FA) : Added new user plans.
227
+
228
+ = 5.1.0 =
229
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix.
230
 
231
  = 5.0.16 =
526
 
527
  == Upgrade Notice ==
528
 
529
+ = 5.1.0 =
530
+ * Google Authenticator-Two Factor Authentication (2FA) : Added new user plans.
531
+
532
+ = 5.1.0 =
533
  * Google Authenticator-Two Factor Authentication (2FA) : Minor Bug fix.
534
 
535
  = 5.0.16 =
views/feedback_form.php CHANGED
@@ -7,7 +7,7 @@
7
  wp_enqueue_style( 'wp-pointer' );
8
  wp_enqueue_script( 'wp-pointer' );
9
  wp_enqueue_script( 'utils' );
10
- wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.0.17', __FILE__ ) );
11
  ?>
12
 
13
  </head>
7
  wp_enqueue_style( 'wp-pointer' );
8
  wp_enqueue_script( 'wp-pointer' );
9
  wp_enqueue_script( 'utils' );
10
+ wp_enqueue_style( 'mo_2_factor_admin_plugins_page_style', plugins_url( '/../includes/css/mo2f_plugins_page.css?version=5.1.0', __FILE__ ) );
11
  ?>
12
 
13
  </head>