From 828b57051b1ca35f1ab7d7f08dbc99dbb27b5eee Mon Sep 17 00:00:00 2001 From: sitedyno Date: Wed, 8 Mar 2017 13:54:21 -0500 Subject: [PATCH] AuthComponent no longer uses 'auth' key for FlashComponent --- en/controllers/components/authentication.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/en/controllers/components/authentication.rst b/en/controllers/components/authentication.rst index b9212ec3cf..94dd7bd96b 100644 --- a/en/controllers/components/authentication.rst +++ b/en/controllers/components/authentication.rst @@ -230,9 +230,7 @@ working with a login form could look like:: $this->Auth->setUser($user); return $this->redirect($this->Auth->redirectUrl()); } else { - $this->Flash->error(__('Username or password is incorrect'), [ - 'key' => 'auth' - ]); + $this->Flash->error(__('Username or password is incorrect')); } } }