On Sun, May 11, 2008 at 11:38 AM, Greg <[EMAIL PROTECTED]> wrote: > > Hi, thanks for taking the time to reply. I tried to add your example > to my Account controller but that did not work. I had an existing Auth- >>allow array that was: > > $this->Auth->allow('login', 'index') > > I was trying different possibilities. In the end I removed it > completely and now it's working ok! I saw another post that mentioned > having 'login' in the allowed array could cause problems. Perhaps that > was the issue.
Yeah, you don't need to put 'login' in $this->Auth->allow(...) as Auth handles that automatically. -- 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 "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---