Completed
Pull Request — master (#17)
by Paul
01:59
created
event/listener.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -190,9 +190,9 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
migrations/version_005.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
language/en/acp_tfa.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
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
 );
Please login to merge, or discard this patch.