I believe you problem is that the login method is not publicly available.

change the commented out line: //$this->Auth->allow(array('*'));
to: $this->Auth->allow(array('login'));

This can be in the AppContoller or the UserController. If you put an Auth 
allow in the AppController it will apply to "login" methods in all your 
controllers, just an FYI.

Anyways, that should stop the redirect.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to