Would you show me how you put the element to log in on the side of your pages? I've been wondering how to do that, and then turn it off if logged in.
For now I am using a login.ctp and a button on the navigation bar that flips between "Log In" and "Log Out" depending on if the user is logged in or not. All is working except for when the user clicks "Log Out". Now the user is directed BACK to the login.ctp, and I want it to go to the static home page. I know it is something simple, but I am missing it. Part of the answer for me was here http://book.cakephp.org/view/395/autoRedirect What do you think? FD On Aug 3, 7:09 pm, Styles <[email protected]> wrote: > I currently have an element that sits on the side of all my pages. It > has the login form. I want to know, how can I stop CakePHP from > redirecting the user to /users/login (default) when the login fails > and they putting up the flash message there saying, you failed the > login. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
