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:
phpnut 2007-05-21 04:34:37 +00:00
parent 1db295f366
commit 7fb6896ab6

View file

@ -147,6 +147,7 @@ class SecurityComponent extends Object {
$this->__loginRequired($controller);
if($this->RequestHandler->isPost()) {
$this->__validatePost($controller);
return;
}
$this->__generateToken($controller);
}