mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 20:12:42 +00:00
How about this?
This commit is contained in:
parent
ef1fc7dfef
commit
8257100f54
5 changed files with 4 additions and 11 deletions
|
@ -50,7 +50,7 @@ class AuthComponent extends Component {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
public $components = array('Session', 'RequestHandler');
|
||||
public $components = array('Session', 'Flash', 'RequestHandler');
|
||||
|
||||
/**
|
||||
* An array of authentication objects to use for authenticating users. You can configure
|
||||
|
@ -840,7 +840,7 @@ class AuthComponent extends Component {
|
|||
if ($message === false) {
|
||||
return;
|
||||
}
|
||||
$this->Session->setFlash($message, $this->flash['element'], $this->flash['params'], $this->flash['key']);
|
||||
$this->Flash->set($message, $this->flash);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue