modifying Auth::startup(), closes #3339

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5710 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2007-10-02 18:32:44 +00:00
parent cb80df2219
commit 24d4f966b1

View file

@ -262,16 +262,16 @@ class AuthComponent extends Object {
return; return;
} }
if ($this->allowedActions == array('*') || in_array($controller->action, $this->allowedActions)) {
return false;
}
if (!$this->__setDefaults()) { if (!$this->__setDefaults()) {
return false; return false;
} }
$this->data = $controller->data = $this->hashPasswords($controller->data); $this->data = $controller->data = $this->hashPasswords($controller->data);
if ($this->allowedActions == array('*') || in_array($controller->action, $this->allowedActions)) {
return false;
}
if (!isset($controller->params['url']['url'])) { if (!isset($controller->params['url']['url'])) {
$url = ''; $url = '';
} else { } else {