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 <mailingli...@gmx.de> 
> 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 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.  How and where can I do this? In the
>> login method?
>>
>> Thanks for your help.
>> Best regards,
>> Roman
>>
>>     
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to