mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Adding fix for #2611, fixes App crashes when using requestAction with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5143 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
1db295f366
commit
7fb6896ab6
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ class SecurityComponent extends Object {
|
|||
$this->__loginRequired($controller);
|
||||
if($this->RequestHandler->isPost()) {
|
||||
$this->__validatePost($controller);
|
||||
return;
|
||||
}
|
||||
$this->__generateToken($controller);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue