I have this working now, I believe. However, on error, I am still being
redirected to /users/login.

Seems to be mentioned here (along with other bugs):
http://groups.google.com/group/cake-php/browse_thread/thread/9026125f87c173f2/6b28fe4632b5a24c?hl=en&lnk=gst&q=auth#6b28fe4632b5a24c

Still not fixed? I would class this as 'critical'.

D.


Dodger wrote:
> 
> 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#a13812947
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 cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to