If I'm following you correctly you could use $this-Auth-autoRedirect =
false;
On Mon, Jun 7, 2010 at 4:11 PM, junker37 junke...@gmail.com wrote:
How can I stop the auth component from redirecting? Currently, when I
make an ajax call, and the user isn't allowed to the requested action,
cake redirects to the index of the requested controller. I want to
know how I can stop it from redirecting so I can pop up an error
message.
Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP related questions.
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+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor
more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en