|
@@ -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.