Re: If Auth isAuthorize() == false, how to redirect user?

2009-08-19 Thread Bert Van den Brande

Not entirely sure but I think it's loginAction you need :
http://book.cakephp.org/view/248/AuthComponent-Variables

On Wed, Aug 19, 2009 at 5:42 AM, zotiumzot...@gmail.com wrote:

 When using the Auth-Authorize = 'controller' method of authorization,
 and isAuthorized() returns false, how do you set the URL where the
 user gets redirected?
 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



If Auth isAuthorize() == false, how to redirect user?

2009-08-18 Thread zotium

When using the Auth-Authorize = 'controller' method of authorization,
and isAuthorized() returns false, how do you set the URL where the
user gets redirected?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---