Use this http://book.cakephp.org/view/385/logout as the redirect!
Enjoy,
   John

On Mar 30, 8:26 pm, iFeghali <[email protected]> wrote:
> Hello,
>
> I have followed [1] to get a simple login form working. Currently when
> a visitor tries to reach '/' one is redirected to the login form,
> which is desirable, but an error message is displayed "You are not
> authorized to access that location.", which is not desirable. Any clue
> how do I prevent this error only in the case where the user is going
> to login ?
>
> Thank you.
>
> [1]http://book.cakephp.org/view/172/Authentication
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to