I have Auth set up as 'authorize' => 'controller' so Cake calls
isAuthorized() for each url.
The problem is, when my isAuthorized() returns false (meaning user has
no rights), he gets redirected to index action (/) instead of /login.
How to fix that?
Cake 1.3.15 (I know, silly, but I need to work with Oracle db).
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Thursday, May 24, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment