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.
2 parents 8836118 + 93dc5fb commit 361092dCopy full SHA for 361092d
application/libraries/REST_Controller.php
@@ -285,9 +285,10 @@ public function __construct()
285
// Check if there is a specific auth type for the current class/method
286
// _auth_override_check could exit so we need $this->rest->db initialized before
287
$this->auth_override = $this->_auth_override_check();
288
-
+
289
// Checking for keys? GET TO WorK!
290
- if (config_item('rest_enable_keys')) {
+ // Skip keys test for $config['auth_override_class_method']['class'['method'] = 'none'
291
+ if (config_item('rest_enable_keys') and $this->auth_override !== true) {
292
$this->_allow = $this->_detect_api_key();
293
}
294
0 commit comments