@@ -190,9 +190,9 @@ |
||
| 190 | 190 | } |
| 191 | 191 | if ($event['admin'] && $this->config['tfa_acp'] == session_helper_interface::ACP_DISABLED) |
| 192 | 192 | { |
| 193 | - // two factor authentication is disabled for the ACP. |
|
| 194 | - return $event; |
|
| 195 | - } |
|
| 193 | + // two factor authentication is disabled for the ACP. |
|
| 194 | + return $event; |
|
| 195 | + } |
|
| 196 | 196 | if (isset($event['login'], $event['login']['status']) && $event['login']['status'] == LOGIN_SUCCESS) |
| 197 | 197 | { |
| 198 | 198 | // We have a LOGIN_SUCCESS result. |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | return array( |
| 18 | 18 | '\paul999\tfa\migrations\version_004', |
| 19 | - '\paul999\tfa\migrations\add_config', |
|
| 19 | + '\paul999\tfa\migrations\add_config', |
|
| 20 | 20 | ); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | 'TFA_REQUIRED_FOR_MODERATOR' => 'Require two factor authentication for all moderators and administrators', |
| 78 | 78 | 'TFA_REQUIRED' => 'Require two factor authentication for all users', |
| 79 | 79 | |
| 80 | - 'TFA_ACP' => 'Require two factor authentication for administration panel', |
|
| 81 | - 'TFA_ACP_EXPLAIN' => 'When set to no, administrators don’t need to use a two factor authentication key when loggin in for the ACP. Disabling this might not be suggested.' |
|
| 80 | + 'TFA_ACP' => 'Require two factor authentication for administration panel', |
|
| 81 | + 'TFA_ACP_EXPLAIN' => 'When set to no, administrators don’t need to use a two factor authentication key when loggin in for the ACP. Disabling this might not be suggested.' |
|
| 82 | 82 | ) |
| 83 | 83 | ); |