Great, I will try that out when I get home today.

Thanks
Dhana

On Mar 13, 6:09 am, Brendon Kozlowski <brendon...@hotmail.com> wrote:
> I can't look up the exact steps to do this at the moment (rushing to
> prepare for a meeting), but going from memory I believe you'd actually
> take advantage of the empty login() function in your UsersController
> in this instance so that you can send a specific use-case error
> depending on the circumstances.  I'd do a google search for "CakePHP
> auth custom login" (without the quotes) and see what comes up.  :)
>
> On Mar 12, 7:18 pm, Dhana <sldh...@gmail.com> wrote:
>
>
>
> > I was wondering if it's possible to print out a custom error message
> > in cakephp when using the auth component.  I am using the "scope"
> > attribute to check if the user is active or not. Instead of flashing
> > the loginError which is the usual "either login or password" is wrong,
> > I want to say "the account has been deactivated ....".  Any way around
> > this?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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