mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
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:
parent
cb80df2219
commit
24d4f966b1
1 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue