Thursday, May 24, 2012

Re: Unauthorized users don't get redirected to login action

Why should a logged in user be redirected to login?

Op donderdag 24 mei 2012 09:03:03 UTC+2 schreef rahajiyev het volgende:
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

No comments: