Skip to content

Commit ede791d

Browse files
author
Rafael Grigorian
committed
Version 1.0.8 Complete
1 parent c3a37e7 commit ede791d

File tree

25 files changed

+66
-111
lines changed

25 files changed

+66
-111
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,10 @@
3737
- New logo for jetrails
3838

3939
## 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.0.7",
2+
"version": "1.0.8",
33
"name": "TwoFactor",
44
"description": "Two-factor authorization for admin accounts",
55
"author": "Rafael Grigorian",

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Button/Reset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* config section of the admin area. The reset button simply resets the currently logged in
66
* user's state. This class defines the HTML for the widget element, and it also un-binds it
77
* from any store view.
8-
* @version 1.0.7
8+
* @version 1.0.8
99
* @package JetRails® TwoFactor
1010
* @category Button
1111
* @author Rafael Grigorian - JetRails®

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Email/Admin.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Admin.php - This block is meant to be used inline with the email template file. It simply
55
* has a method that is called to fill the plain text body portion of the HTML email. This
66
* block describes the message that the admin users within the 'Administrators' role will see.
7-
* @version 1.0.7
7+
* @version 1.0.8
88
* @package JetRails® TwoFactor
99
* @category Email
1010
* @author Rafael Grigorian - JetRails®
@@ -25,11 +25,11 @@ public function getMessage () {
2525
// Return the formated message that will appear in the email body
2626
return sprintf (
2727
$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."
3333
),
3434
$auth::MAX_ATTEMPTS,
3535
$user->getEmail (),

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Email/User.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* User.php - This block is meant to be used inline with the email template file. It simply
55
* has a method that is called to fill the plain text body portion of the HTML email. This
66
* 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
88
* @package JetRails® TwoFactor
99
* @category Email
1010
* @author Rafael Grigorian - JetRails®
@@ -24,11 +24,11 @@ public function getMessage () {
2424
// Return the formated message that will appear in the email body
2525
return sprintf (
2626
$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."
3232
),
3333
$auth::MAX_ATTEMPTS,
3434
$auth::BLOCK_TIME_MINUTES

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Template/Backup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Backup.php - This template block is used in hand with the associated template file and it
55
* is used to prepare information for the template file.
6-
* @version 1.0.7
6+
* @version 1.0.8
77
* @package JetRails® TwoFactor
88
* @category Template
99
* @author Rafael Grigorian - JetRails®

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Template/Blocked.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Blocked.php - This template block is used in hand with the associated template file and it
55
* is used to prepare information for the template file.
6-
* @version 1.0.7
6+
* @version 1.0.8
77
* @package JetRails® TwoFactor
88
* @category Template
99
* @author Rafael Grigorian - JetRails®

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Template/Scan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Scan.php - This template block is used in hand with the associated template file and it
55
* is used to prepare information for the template file.
6-
* @version 1.0.7
6+
* @version 1.0.8
77
* @package JetRails® TwoFactor
88
* @category Template
99
* @author Rafael Grigorian - JetRails®

src/app/code/community/JetRails/TwoFactor/Block/Adminhtml/Template/Verify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Verify.php - This function aids the Verify template. This block offers helpful function that
55
* are used within the template, such as suppling the form action and stylesheet URL.
6-
* @version 1.0.7
6+
* @version 1.0.8
77
* @package JetRails® TwoFactor
88
* @category Template
99
* @author Rafael Grigorian - JetRails®

src/app/code/community/JetRails/TwoFactor/Helper/Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Cookie.php - This helper class contains functions that deal with cookie creation, deletion,
55
* and authentication. This cookie class is used to aid in the "remember for 7 days"
66
* functionality.
7-
* @version 1.0.7
7+
* @version 1.0.8
88
* @package JetRails® TwoFactor
99
* @category Helper
1010
* @author Rafael Grigorian - JetRails®

0 commit comments

Comments
 (0)