updating auth url for login actions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6904 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-05-16 18:17:04 +00:00
parent 6c44d00642
commit 8124d166ff

View file

@ -274,7 +274,7 @@ class AuthComponent extends Object {
$url = '';
if (is_array($this->loginAction)) {
$url = $controller->params['controller'].'/'.$controller->params['action'];
$url = array('controller' => $controller->params['controller'], 'action' => $controller->params['action']);
} elseif (isset($controller->params['url']['url'])) {
$url = $controller->params['url']['url'];
}