mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing reversed args.
This commit is contained in:
parent
5834225cc3
commit
9854947d0f
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ class AuthComponent extends Component {
|
||||||
if (!method_exists($className, 'authenticate')) {
|
if (!method_exists($className, 'authenticate')) {
|
||||||
throw new CakeException(__('Authentication objects must implement an authenticate method.'));
|
throw new CakeException(__('Authentication objects must implement an authenticate method.'));
|
||||||
}
|
}
|
||||||
$settings = array_merge((array)$settings, $global);
|
$settings = array_merge($global, (array)$settings);
|
||||||
$this->_authenticateObjects[] = new $className($settings);
|
$this->_authenticateObjects[] = new $className($settings);
|
||||||
}
|
}
|
||||||
return $this->_authenticateObjects;
|
return $this->_authenticateObjects;
|
||||||
|
|
Loading…
Reference in a new issue