It seems to me, that if you're not logged in OR if you are not
authorized for a specific action, you will receive the same message
($this->Auth->authError in the Controller).

I would, however, prefer two different messages. I.e. "Please login"
if not logged in at all, or "Not authorized" if logged in, but not
authorized.

How could this be accomplished?


--~--~---------~--~----~------------~-------~--~----~
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