Well, I'm getting redirection errors on the CakePHP cookbook so I
can't see if it informs you about this there, however...  You cannot
use the allow() method of the auth component on the "login" action.
It will cause Auth to misbehave.  The "login" action is explicitly
allowed via Auth.

I'll link you to an older article on Auth from Chris Hartjes:
http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tutorial-for-using-cakephps-auth-component/

On May 19, 4:50 am, Crazy <[EMAIL PROTECTED]> wrote:
> I just started looking into the auth component, I don't need ACL's or
> anything, all I need is simple authentication and a small form where
> someone can make an account.
>
> Everything works fine, I can log in etc, that is untill I use the
> "$this->Auth->allow('*');" or "$this->Auth->allow("login",
> "register");" to have access to "/users/register"
>
> Once I use this I can't seem to log in anymore.
> The code I am using can be found here:http://bin.cakephp.org/view/472528663
>
> I am probably missing something very stupid
>
> All help is appreciated
>
> Crazy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to