sylvain,
il y a 13 ans
J'ai investigué et j'ai changé l'auth login qui n'est plus si magique que ca du coup
public function login() {
if ($this->request->is('post')) {
if ($this->Auth->login()) {
return $this->redirect($this->Auth->redirect());
} else {
$this->Session->setFlash(__("Le nom d'utilisateur ou le mot de passe est incorrect"), 'default', array(), 'auth');
}
}