Re: Auth Allow Problem

2008-05-19 Thread Crazy
I am running the latest svn version as well. It broke for me. //Does not redirect $this->Auth->allow('register', 'login'); //Works fine $this->Auth->allow('register'); On 19 mei, 18:41, francky06l <[EMAIL PROTECTED]> wrote: > Actually after looking to some of my code, I have $this->Auth->alow

Re: Auth Allow Problem

2008-05-19 Thread francky06l
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]

Re: Auth Allow Problem

2008-05-19 Thread Crazy
Hah!, it works! Thank you so much, that's another something I learned :) On 19 mei, 16:57, aranworld <[EMAIL PROTECTED]> wrote: > Auth Component will break if you try to allow 'login'. > > On May 19, 1:50 am, Crazy <[EMAIL PROTECTED]> wrote: > > > I just started looking into the auth component,

Re: Auth Allow Problem

2008-05-19 Thread aranworld
Auth Component will break if you try to allow 'login'. On May 19, 1: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

Re: Auth Allow Problem

2008-05-19 Thread [EMAIL PROTECTED]
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 st

Re: Auth Allow Problem

2008-05-19 Thread BrendonKoz
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

Auth Allow Problem

2008-05-19 Thread Crazy
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", "reg