Skip to content

Commit ecec95f

Browse files
committed
fixing session option class/method/http method
1 parent 5f0b5d8 commit ecec95f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/libraries/REST_Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ protected function _auth_override_check()
12801280
}
12811281

12821282
// Session auth override found, check session
1283-
if ($auth_override_class_method[$this->router->class]['*'][$this->request->method] === 'session')
1283+
if ($auth_override_class_method_http[$this->router->class]['*'][$this->request->method] === 'session')
12841284
{
12851285
$this->_check_php_session();
12861286

@@ -1322,7 +1322,7 @@ protected function _auth_override_check()
13221322
}
13231323

13241324
// Session auth override found, check session
1325-
if ($auth_override_class_method[$this->router->class][$this->router->method][$this->request->method] === 'session')
1325+
if ($auth_override_class_method_http[$this->router->class][$this->router->method][$this->request->method] === 'session')
13261326
{
13271327
$this->_check_php_session();
13281328

0 commit comments

Comments
 (0)