Running CakePHP site with Auth. When I visit /users/login or /users/logout, I end up at /users/login. All fine so far. When I try to login, the login fails, and the SQL log shows;
SELECT `User`.`id`, `User`.`email`, `User`.`password` FROM `users` AS `User` WHERE `User`.`id` IS NULL LIMIT 1 Note that it's searching for users with an ID of NULL, which will naturally fail. If I visit one of my other CakePHP pages (remember I'm not logged in), I end up at /users/login again, but this time can login no problem. SQL log says; SELECT `User`.`id`, `User`.`email`, `User`.`password` FROM `users` AS `User` WHERE `User`.`id` = 56 LIMIT 1 ...which is how it should be. Has anyone else experienced this strangeness? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
