Actually after looking to some of my code, I have $this->Auth-
>alow('login', 'logout', 'someothers'); and this does not break the
Auth at all (at least for me).
I am running the latest SVN branch ... maybe this is the explanation.
Cheers
On May 19, 4:47 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi there,
> You should never allow access to the login or logout actions that Auth
> uses. Auth will handle that on its own and the problem you describe
> matches prefectly.
>
> Only allow access to register and you should be fine.
>
> /Martin
>
> On May 19, 10: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 [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
-~----------~----~----~----~------~----~------~--~---