Re: Some notes on Auth (with something done about them)

2007-09-07 Thread Chris Hartjes
On 9/7/07, David <[EMAIL PROTECTED]> wrote: > Sorry, I wasn't clear. I've never seen Auth hash the username, but it > will hash the password if both it and a username are passed to the > action. While this is great if we're in the login action, what if > we're in the register action? By the time w

Re: Some notes on Auth (with something done about them)

2007-09-07 Thread David
Thanks for the feedback, guys. > Well, actually, the easiest way to solve this problem isdon't put > login in the list of allowed actions because Auth already handles > login / logout for you. Perhaps this needs to be written down > somewhere. I agree with you, but I thought why not go one

Re: Some notes on Auth (with something done about them)

2007-09-06 Thread Chris Hartjes
On 9/6/07, David <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm quite new to Cake, so forgive me if any of this sounds stupid/ > unnecessary. I've been playing around with Cake 1.2's Auth component, > and found that there were a few things slightly awry with it: > > - If you put 'login' or '*' in

Re: Some notes on Auth (with something done about them)

2007-09-06 Thread Grant Cox
I've not used the Cake Auth, but some of your points sound quite good. If you would like any of these to be considered for enhancements into the core, you have to post them as tickets at https://trac.cakephp.org/ . Each issue as a separate ticket would be a good idea. On Sep 7, 3:21 am, David

Some notes on Auth (with something done about them)

2007-09-06 Thread David
Hi guys, I'm quite new to Cake, so forgive me if any of this sounds stupid/ unnecessary. I've been playing around with Cake 1.2's Auth component, and found that there were a few things slightly awry with it: - If you put 'login' or '*' in the allowed actions, the login code is never called, mean