Completed
Pull Request — master (#16)
by Paul
02:15
created
migrations/version_001.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 	static public function depends_on()
16 16
 	{
17 17
 		return array(
18
-            '\phpbb\db\migration\data\v320\v320',
18
+			'\phpbb\db\migration\data\v320\v320',
19 19
 			'\paul999\tfa\migrations\initial_schema',
20 20
 			'\paul999\tfa\migrations\update_sessions',
21 21
 			'\paul999\tfa\migrations\initial_module',
Please login to merge, or discard this patch.
event/listener.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,12 +126,12 @@
 block discarded – undo
126 126
 			return;
127 127
 		}
128 128
 		if (strpos($this->user->page['page_name'], 'app' . $this->php_ext) !== false && strrpos($this->user->page['page_name'], 'paul999/tfa') !== false) {
129
-            @define('SKIP_CHECK_DISABLED', true);
130
-        }
129
+			@define('SKIP_CHECK_DISABLED', true);
130
+		}
131 131
 
132 132
 		if ($this->user->data['is_bot'] == false && $this->user->data['user_id'] != ANONYMOUS && $this->session_helper->isTfaRequired($this->user->data['user_id'], false, $this->user->data) && !$this->session_helper->isTfaRegistered($this->user->data['user_id']))
133 133
 		{
134
-		    @define('SKIP_CHECK_DISABLED', true);
134
+			@define('SKIP_CHECK_DISABLED', true);
135 135
 			$sql = 'SELECT module_id FROM ' . MODULES_TABLE . " WHERE module_langname = 'UCP_TFA' OR module_langname = 'UCP_TFA_MANAGE'";
136 136
 			$result = $this->db->sql_query($sql, 3600);
137 137
 			$allowed_i = array();
Please login to merge, or discard this patch.