File tree Expand file tree Collapse file tree 25 files changed +66
-111
lines changed
design/adminhtml/base/default/template/twofactor Expand file tree Collapse file tree 25 files changed +66
-111
lines changed Original file line number Diff line number Diff line change 37
37
- New logo for jetrails
38
38
39
39
## Version 1.0.7
40
- - On install, invalidate logged in sessions.
40
+ - On install, invalidate logged in sessions.
41
+
42
+ ## Version 1.0.8
43
+ - Only kept English translations
44
+ - Changed/Added text translations throughout module
45
+ - Enabled translations to work in Adminhtml area
46
+ - Added MIT license
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 1.0.7 " ,
2
+ "version" : " 1.0.8 " ,
3
3
"name" : " TwoFactor" ,
4
4
"description" : " Two-factor authorization for admin accounts" ,
5
5
"author" : " Rafael Grigorian" ,
Original file line number Diff line number Diff line change 5
5
* config section of the admin area. The reset button simply resets the currently logged in
6
6
* user's state. This class defines the HTML for the widget element, and it also un-binds it
7
7
* from any store view.
8
- * @version 1.0.7
8
+ * @version 1.0.8
9
9
* @package JetRails® TwoFactor
10
10
* @category Button
11
11
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Admin.php - This block is meant to be used inline with the email template file. It simply
5
5
* has a method that is called to fill the plain text body portion of the HTML email. This
6
6
* block describes the message that the admin users within the 'Administrators' role will see.
7
- * @version 1.0.7
7
+ * @version 1.0.8
8
8
* @package JetRails® TwoFactor
9
9
* @category Email
10
10
* @author Rafael Grigorian - JetRails®
@@ -25,11 +25,11 @@ public function getMessage () {
25
25
// Return the formated message that will appear in the email body
26
26
return sprintf (
27
27
$ this ->__ (
28
- "%d unsuccessful two factor authentication attempts have been made for '%s' w " .
29
- "ith a user id of '%d'. Last detected authentication attempt was detected on " .
30
- " '%s' at '%s UTC'. A %d minute block has been set to the account. The acco " .
31
- "unt in question and all other admins in the 'Administrator' role have been n " .
32
- "otified about this block. "
28
+ "%d unsuccessful two- factor authentication attempts have been made for '%s' w " .
29
+ "ith a user id of '%d'. Last detected authentication attempt was detected fro " .
30
+ "m '%s' at '%s UTC'. A %d minute block has been set to the account. The accou " .
31
+ "nt in question and all other admins in the 'Administrator' role have been no " .
32
+ "tified about this block. "
33
33
),
34
34
$ auth ::MAX_ATTEMPTS ,
35
35
$ user ->getEmail (),
Original file line number Diff line number Diff line change 4
4
* User.php - This block is meant to be used inline with the email template file. It simply
5
5
* has a method that is called to fill the plain text body portion of the HTML email. This
6
6
* block describes the message that the admin who's account is currently being used will see.
7
- * @version 1.0.7
7
+ * @version 1.0.8
8
8
* @package JetRails® TwoFactor
9
9
* @category Email
10
10
* @author Rafael Grigorian - JetRails®
@@ -24,11 +24,11 @@ public function getMessage () {
24
24
// Return the formated message that will appear in the email body
25
25
return sprintf (
26
26
$ this ->__ (
27
- "%d unsuccessful two factor authentication attempts have been made to log int " .
28
- "o your account. If this was not you, please contact your system administrato " .
29
- "rs immediately. Additional emails have been sent to the administrators rega " .
30
- "rding this failed authentication attempt. If this was you, you can attempt " .
31
- "to authenticate your account again in %d minutes . "
27
+ "Your Magento administrator account has been locked after %d unsuccessful two " .
28
+ "-factor authentication attempts. Additional emails have been sent to the adm " .
29
+ "inistrators regarding this failed authentication attempt. If this was you, t " .
30
+ "ry logging into the system in %d minutes. If this was not you, please contac " .
31
+ "t your system administrators immediately . "
32
32
),
33
33
$ auth ::MAX_ATTEMPTS ,
34
34
$ auth ::BLOCK_TIME_MINUTES
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Backup.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.0.7
6
+ * @version 1.0.8
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Blocked.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.0.7
6
+ * @version 1.0.8
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Scan.php - This template block is used in hand with the associated template file and it
5
5
* is used to prepare information for the template file.
6
- * @version 1.0.7
6
+ * @version 1.0.8
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 3
3
/**
4
4
* Verify.php - This function aids the Verify template. This block offers helpful function that
5
5
* are used within the template, such as suppling the form action and stylesheet URL.
6
- * @version 1.0.7
6
+ * @version 1.0.8
7
7
* @package JetRails® TwoFactor
8
8
* @category Template
9
9
* @author Rafael Grigorian - JetRails®
Original file line number Diff line number Diff line change 4
4
* Cookie.php - This helper class contains functions that deal with cookie creation, deletion,
5
5
* and authentication. This cookie class is used to aid in the "remember for 7 days"
6
6
* functionality.
7
- * @version 1.0.7
7
+ * @version 1.0.8
8
8
* @package JetRails® TwoFactor
9
9
* @category Helper
10
10
* @author Rafael Grigorian - JetRails®
You can’t perform that action at this time.
0 commit comments