Tuesday, January 27, 2009

AuthComponent not functioning correctly

I'm using AuthComponent in my app to validate user logins.
I'm not using a user model as there are 2 sections to my site (which
is a football site): players and teams.
By default the login form is supposed to use the player model to
login, so the usermodel is set to player in the app controller.

The login works fine and the user is authenticated if you're inside
the players controller when logging in; if you're outside the players
controller (for example on the home page) it will simply refresh the
page with no debug output.

Any ideas why?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: