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 f755cdd commit dee9eeeCopy full SHA for dee9eee
application/libraries/REST_Controller.php
@@ -557,7 +557,9 @@ public function __construct($config = 'rest')
557
}
558
559
// When there is no specific override for the current class/method, use the default auth value set in the config
560
- 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 &&
561
+ (! ($this->config->item('rest_enable_keys') && $this->_allow === TRUE) ||
562
+ ($this->config->item('allow_auth_and_keys') === TRUE && $this->_allow === TRUE)))
563
{
564
$rest_auth = strtolower($this->config->item('rest_auth'));
565
switch ($rest_auth)
0 commit comments