AW: custom redirect using auth component except in one specific controller

2008-12-16 Thread Liebermann, Anja Carolin
@googlegroups.com] Im Auftrag von MrSensitive Gesendet: Montag, 15. Dezember 2008 12:30 An: CakePHP Betreff: Re: custom redirect using auth component except in one specific controller never mind, solved it by creating an additional action in the users controller to handle custom redirects and the

Re: custom redirect using auth component except in one specific controller

2008-12-15 Thread MrSensitive
never mind, solved it by creating an additional action in the users controller to handle custom redirects and the BeforeFilter function like this: function beforeFilter(){ if($this->name == 'confirmations'){ $this->Auth->autoRedirect = true; $this->Auth->loginRedirect = null;

custom redirect using auth component except in one specific controller

2008-12-15 Thread MrSensitive
Hi all, I'm having teh following problem: The application I'm writing serves three distinct user types, each having their own separated workspace. this has been implemented by a custom redirect routine that fires after a sucessful login (autoRedirect is set to false in the Auth component.) now,