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 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
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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®
Original file line number Diff line number Diff line change 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 (),
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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®
Original file line number Diff line number Diff line change 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®
Original file line number Diff line number Diff line change 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®
Original file line number Diff line number Diff line change 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®
Original file line number Diff line number Diff line change 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®
You can’t perform that action at this time.
0 commit comments