Well done Brian!! I saw it, but assumed that the missing action would default to "login", so I didn't look further! Good detective work! Enjoy, John
On Apr 27, 6:38 pm, brian <[email protected]> wrote: > $this->Auth->loginAction = array('controller' => 'members'); > > There's no action in that array. I suspect that Cake is treating your > register action as a login attempt. Looking at AuthComponent ... > > Line 294: > $loginAction = Router::normalize($this->loginAction); > > Router::normalize() will grab the missing action from $params['action']. > > A few lines down is a comparison between that and the current URL. If > they match, a login check happens. That's why you see the select query > being made. Because that comes up empty, login fails and ... > > Line 334: > $controller->data[$this->userModel][$this->fields['password']] = null; > > On Mon, Apr 27, 2009 at 7:55 AM, Malcolm Krugger > > <[email protected]> wrote: > > > So has anyone experienced the > > > cakephp auth component password field always empty problem at all ?? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
