Skip to content

Commit 1ce33e0

Browse files
author
Chris Kacerguis
committed
fixes 326
1 parent 44e86be commit 1ce33e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/libraries/REST_Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public function __construct()
299299
}
300300

301301
// 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) {
302+
if ($this->auth_override !== true && !(config_item('rest_enable_keys') && $this->_allow === true)) {
303303
$rest_auth = strtolower($this->config->item('rest_auth'));
304304
switch ($rest_auth) {
305305
case 'basic':

0 commit comments

Comments
 (0)