Hi,
It was, at one stage, possible to use an empty login function and for the
Auth component to do the rest -- is this still so?
I have this in my app_controller beforeFilter():
$this->Auth->allow('*');
$this->Auth->loginRedirect = '/';
And an empty login() function in my users_controller.
When I submit data to that action, I am redirected to /users/login, and I'm
not sure why.
Any ideas?
D.
--
View this message in context:
http://www.nabble.com/Auth-component----can-use-empty-login-function--tf4827793.html#a13812529
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---