Version Description
- Google Authenticator-Two Factor Authentication (2FA) : Two Factor : Choice between Two factor and Security.
Download this release
Release Info
Developer | cyberlord92 |
Plugin | Google Authenticator – WordPress Two Factor Authentication (2FA) |
Version | 5.3.21 |
Comparing to | |
See all releases |
Code changes from version 5.3.20 to 5.3.21
- helper/messages.php +3 -0
- includes/css/popup.css +71 -0
- miniorange_2_factor_settings.php +3 -2
- readme.txt +7 -1
- views/account/login.php +1 -1
- views/account/register.php +3 -2
helper/messages.php
CHANGED
@@ -78,6 +78,9 @@
|
|
78 |
const OTP_SENT = 'A passcode is sent to {{method}}. Please enter the otp below.';
|
79 |
const REG_SUCCESS = 'Your account has been retrieved successfully.';
|
80 |
const ACCOUNT_EXISTS = 'You already have an account with miniOrange. Please enter a valid password.';
|
|
|
|
|
|
|
81 |
const INVALID_CRED = 'Invalid username or password. Please try again.';
|
82 |
const REQUIRED_OTP = 'Please enter a value in OTP field.';
|
83 |
const INVALID_OTP = 'Invalid one time passcode. Please enter a valid passcode.';
|
78 |
const OTP_SENT = 'A passcode is sent to {{method}}. Please enter the otp below.';
|
79 |
const REG_SUCCESS = 'Your account has been retrieved successfully.';
|
80 |
const ACCOUNT_EXISTS = 'You already have an account with miniOrange. Please enter a valid password.';
|
81 |
+
const INVALID_UP = 'Invalid username or password.';
|
82 |
+
const ACCOUT_NOTEXISTS = 'Account does not exist. Please create one to use Two-factor Authentication';
|
83 |
+
|
84 |
const INVALID_CRED = 'Invalid username or password. Please try again.';
|
85 |
const REQUIRED_OTP = 'Please enter a value in OTP field.';
|
86 |
const INVALID_OTP = 'Invalid one time passcode. Please enter a valid passcode.';
|
includes/css/popup.css
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.mo_popup {
|
3 |
+
display: flex;
|
4 |
+
flex-flow: row wrap;
|
5 |
+
width:100%;
|
6 |
+
}
|
7 |
+
.mo_popup_div {
|
8 |
+
flex: 1;
|
9 |
+
padding: 0.5rem;
|
10 |
+
}
|
11 |
+
#mo_popup_id input[type="radio"] {
|
12 |
+
display: none;
|
13 |
+
&:not(:disabled) ~ label {
|
14 |
+
cursor: pointer;
|
15 |
+
}
|
16 |
+
&:disabled ~ label {
|
17 |
+
color: hsla(150, 5%, 75%, 1);
|
18 |
+
border-color: hsla(150, 5%, 75%, 1);
|
19 |
+
box-shadow: none;
|
20 |
+
cursor: not-allowed;
|
21 |
+
}
|
22 |
+
}
|
23 |
+
.mo_popup_lable {
|
24 |
+
height: 100%;
|
25 |
+
display: block;
|
26 |
+
background: white;
|
27 |
+
border: 2px solid #20b2aa;
|
28 |
+
border-radius: 20px;
|
29 |
+
padding: 1rem;
|
30 |
+
margin-bottom: 1rem;
|
31 |
+
/*//margin: 1rem;*/
|
32 |
+
text-align: center;
|
33 |
+
box-shadow: 0px 3px 10px -2px hsla(150, 5%, 65%, 0.5);
|
34 |
+
position: relative;
|
35 |
+
margin-top: 10px;
|
36 |
+
}
|
37 |
+
|
38 |
+
#mo_popup_id input[type="radio"]:checked + label {
|
39 |
+
background: #20b2aa;
|
40 |
+
color: hsla(215, 0%, 100%, 1);
|
41 |
+
&::after {
|
42 |
+
color: hsla(215, 5%, 25%, 1);
|
43 |
+
font-family: FontAwesome;
|
44 |
+
border: 2px solid hsla(150, 75%, 45%, 1);
|
45 |
+
content: "\f00c";
|
46 |
+
font-size: 24px;
|
47 |
+
position: absolute;
|
48 |
+
top: -25px;
|
49 |
+
left: 50%;
|
50 |
+
transform: translateX(-50%);
|
51 |
+
height: 50px;
|
52 |
+
width: 50px;
|
53 |
+
line-height: 50px;
|
54 |
+
text-align: center;
|
55 |
+
border-radius: 50%;
|
56 |
+
background: white;
|
57 |
+
box-shadow: 0px 2px 5px -2px hsla(0, 0%, 0%, 0.25);
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
#mo_popup_id input[type="radio"]#control_05:checked + label {
|
62 |
+
background: red;
|
63 |
+
border-color: red;
|
64 |
+
}
|
65 |
+
|
66 |
+
|
67 |
+
@media only screen and (max-width: 700px) {
|
68 |
+
section {
|
69 |
+
flex-direction: column;
|
70 |
+
}
|
71 |
+
}
|
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.3.
|
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.3.
|
13 |
define( 'MO2F_TEST_MODE', false );
|
14 |
class Miniorange_twoFactor{
|
15 |
|
@@ -224,6 +224,7 @@
|
|
224 |
wp_enqueue_style( 'mo_wpns_admin_settings_phone_style' , plugins_url('includes/css/phone.css', __FILE__));
|
225 |
wp_enqueue_style( 'mo_wpns_admin_settings_datatable_style' , plugins_url('includes/css/jquery.dataTables.min.css', __FILE__));
|
226 |
wp_enqueue_style( 'mo_wpns_button_settings_style' , plugins_url('includes/css/button_styles.css',__FILE__));
|
|
|
227 |
}
|
228 |
|
229 |
}
|
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.3.21
|
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.3.21' );
|
13 |
define( 'MO2F_TEST_MODE', false );
|
14 |
class Miniorange_twoFactor{
|
15 |
|
224 |
wp_enqueue_style( 'mo_wpns_admin_settings_phone_style' , plugins_url('includes/css/phone.css', __FILE__));
|
225 |
wp_enqueue_style( 'mo_wpns_admin_settings_datatable_style' , plugins_url('includes/css/jquery.dataTables.min.css', __FILE__));
|
226 |
wp_enqueue_style( 'mo_wpns_button_settings_style' , plugins_url('includes/css/button_styles.css',__FILE__));
|
227 |
+
wp_enqueue_style( 'mo_wpns_popup_settings_style' , plugins_url('includes/css/popup.css',__FILE__));
|
228 |
}
|
229 |
|
230 |
}
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Donate link: https://miniorange.com/
|
|
6 |
Requires at least: 3.0.1
|
7 |
Tested up to: 5.3
|
8 |
Requires PHP: 5.3.0
|
9 |
-
Stable tag: 5.3.
|
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.3.20 =
|
276 |
* Google Authenticator-Two Factor Authentication (2FA) : Anti Malware : Fixing issue faced by users during scan.
|
277 |
|
@@ -724,6 +727,9 @@ More descriptive setup messages and UI changes.
|
|
724 |
|
725 |
== Upgrade Notice ==
|
726 |
|
|
|
|
|
|
|
727 |
= 5.3.20 =
|
728 |
* Google Authenticator-Two Factor Authentication (2FA) : Anti Malware : Fixing issue faced by users during scan.
|
729 |
|
6 |
Requires at least: 3.0.1
|
7 |
Tested up to: 5.3
|
8 |
Requires PHP: 5.3.0
|
9 |
+
Stable tag: 5.3.21
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
272 |
|
273 |
== Changelog ==
|
274 |
|
275 |
+
= 5.3.21 =
|
276 |
+
* Google Authenticator-Two Factor Authentication (2FA) : Two Factor : Choice between Two factor and Security.
|
277 |
+
|
278 |
= 5.3.20 =
|
279 |
* Google Authenticator-Two Factor Authentication (2FA) : Anti Malware : Fixing issue faced by users during scan.
|
280 |
|
727 |
|
728 |
== Upgrade Notice ==
|
729 |
|
730 |
+
= 5.3.21 =
|
731 |
+
* Google Authenticator-Two Factor Authentication (2FA) : Two Factor : Choice between Two factor and Security.
|
732 |
+
|
733 |
= 5.3.20 =
|
734 |
* Google Authenticator-Two Factor Authentication (2FA) : Anti Malware : Fixing issue faced by users during scan.
|
735 |
|
views/account/login.php
CHANGED
@@ -21,7 +21,7 @@ echo' <form name="f" method="post" action="">
|
|
21 |
<tr>
|
22 |
<td> </td>
|
23 |
<td><input type="submit" class="mo_wpns_button mo_wpns_button1" />
|
24 |
-
<a href="#cancel_link" class="mo_wpns_button mo_wpns_button1">
|
25 |
</tr>
|
26 |
</table>
|
27 |
</div>
|
21 |
<tr>
|
22 |
<td> </td>
|
23 |
<td><input type="submit" class="mo_wpns_button mo_wpns_button1" />
|
24 |
+
<a href="#cancel_link" class="mo_wpns_button mo_wpns_button1">Go Back to Registration</a>
|
25 |
</tr>
|
26 |
</table>
|
27 |
</div>
|
views/account/register.php
CHANGED
@@ -28,9 +28,10 @@ echo'<!--Register with miniOrange-->
|
|
28 |
</tr>
|
29 |
<tr>
|
30 |
<td> </td>
|
31 |
-
<td><br
|
32 |
class="mo_wpns_button mo_wpns_button1" />
|
33 |
-
|
|
|
34 |
|
35 |
</tr>
|
36 |
</table>
|
28 |
</tr>
|
29 |
<tr>
|
30 |
<td> </td>
|
31 |
+
<td><br><input type="submit" name="submit" value="Create Account" style="width:130px;padding: 6px 10px;"
|
32 |
class="mo_wpns_button mo_wpns_button1" />
|
33 |
+
|
34 |
+
<a href="#mo2f_account_exist">Already have an account?</a>
|
35 |
|
36 |
</tr>
|
37 |
</table>
|