mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
6c44d00642
commit
8124d166ff
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class AuthComponent extends Object {
|
||||||
|
|
||||||
$url = '';
|
$url = '';
|
||||||
if (is_array($this->loginAction)) {
|
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'])) {
|
} elseif (isset($controller->params['url']['url'])) {
|
||||||
$url = $controller->params['url']['url'];
|
$url = $controller->params['url']['url'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue