Chris, unfortunately I need you to elaborate. One of the reasons I have the code in the app controller, is of course so I won't need it in the other controllers, but I have it there so I can allow the root to show the user's name if they navigate back to the root after the entered the private area of the site. So then instead of showing a login link on the root page, it would be changed to a logout link and the user name would also be displayed.
I can do that, but because I did, now I can not make the root public. Chris Hartjes wrote: > On Feb 16, 2008 3:30 PM, Rod D. <[EMAIL PROTECTED]> wrote: > > > > 1.2 Beta Auth Component, Allowing root to be public > > Cake: 1.2.0.6311 beta, Mysql: 5.0 > > Ok, I have come so far, and I think this is my last hurdle. I can not > > find the answer anywhere else, so here I am again. > > > > Since I have put the code in my app controller, my main page now > > requires login. How do I "allow" the main page to be public for all > > (no login required)? > > Have you tried simply *not* using the Auth component in your "root" > and then specifying what other controllers need to use Auth? > > More work, yes. Achieves the goal, yes. > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---