We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1eb8cb9 commit 56ed45bCopy full SHA for 56ed45b
application/libraries/REST_Controller.php
@@ -540,7 +540,7 @@ public function __construct($config = 'rest')
540
}
541
542
// When there is no specific override for the current class/method, use the default auth value set in the config
543
- if ($this->auth_override === FALSE && !($this->config->item('rest_enable_keys') && $this->_allow === TRUE) || ($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE))
+ if ($this->auth_override === FALSE && (!($this->config->item('rest_enable_keys') && $this->_allow === TRUE) || ($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE)))
544
{
545
$rest_auth = strtolower($this->config->item('rest_auth'));
546
switch ($rest_auth)
0 commit comments