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 44e86be commit 1ce33e0Copy full SHA for 1ce33e0
application/libraries/REST_Controller.php
@@ -299,7 +299,7 @@ public function __construct()
299
}
300
301
// When there is no specific override for the current class/method, use the default auth value set in the config
302
- if ($this->auth_override !== true && $this->_allow === false) {
+ if ($this->auth_override !== true && !(config_item('rest_enable_keys') && $this->_allow === true)) {
303
$rest_auth = strtolower($this->config->item('rest_auth'));
304
switch ($rest_auth) {
305
case 'basic':
0 commit comments