Odd AuthComponent behavior

2008-12-26 Thread Nick
Has anyone else seen this, it appears to only happen when using the auth component with cookies. If I have an e-mail that begins with a number, the auth component authenticates the wrong user. It takes whatever the leading number is and logs in the user with the ID of that number, instead of

Re: Odd AuthComponent behavior

2008-12-26 Thread Nick
Nevermind, I should have looked at the API first. I stripped some of the data I was passing to $this-Auth-login(); I changed it from $this-Auth-login($loginUser); to $this-Auth- login($loginUser['User']['id']); Its now authenticating the correct user. On Dec 26, 1:43 pm, Nick