mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 15:39:53 +00:00
Fixing error when using AuthComponent and DEBUG < 1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4879 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
35c7807cc3
commit
575dafe60a
2 changed files with 6 additions and 3 deletions
|
@ -232,8 +232,11 @@ class AuthComponent extends Object {
|
||||||
CAKE_ADMIN . '_delete' => 'delete'
|
CAKE_ADMIN . '_delete' => 'delete'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
if(Configure::read() > 0) {
|
||||||
|
uses('debugger');
|
||||||
Debugger::checkSessionKey();
|
Debugger::checkSessionKey();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Main execution method. Handles redirecting of invalid users, and processing
|
* Main execution method. Handles redirecting of invalid users, and processing
|
||||||
* of login form data.
|
* of login form data.
|
||||||
|
|
Loading…
Add table
Reference in a new issue