Re: Customizing auth flash messages

2009-05-15 Thread Roman Brunnemann
Perfect!!! Many thanks. This is what I was looking for. Best regards, Roman brian wrote: > Set $this->Auth->loginError in AppController::beforeFilter(). > > On Fri, May 15, 2009 at 10:57 AM, Roman Brunnemann > wrote: > >> Hi, >> >> short question and I guess pretty easy for Pros. >> >> How

Re: Customizing auth flash messages

2009-05-15 Thread brian
Set $this->Auth->loginError in AppController::beforeFilter(). On Fri, May 15, 2009 at 10:57 AM, Roman Brunnemann wrote: > > Hi, > > short question and I guess pretty easy for Pros. > > How can I customize the message from the Auth component. Everything > works fine but in case the login fails I

Customizing auth flash messages

2009-05-15 Thread Roman Brunnemann
Hi, short question and I guess pretty easy for Pros. How can I customize the message from the Auth component. Everything works fine but in case the login fails I got "Login failed. Invalid username or password". But I need to change this message. I have to make it shorter to fit in my layout.