Re: Auth Component admin login redirect for unauthorized page access

2008-08-24 Thread mario
Thanks Marcin. I solve the problem by using $this->Auth->loginAction() of the Auth Component. On Aug 24, 9:02 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: > C'mon man- do some searching. I suggest looking at the api at auth > component properties. > HTH > > 2008/8/24,mario<[EMAIL PROTECTED]>

Re: Auth Component admin login redirect for unauthorized page access

2008-08-24 Thread Marcin Domanski
C'mon man- do some searching. I suggest looking at the api at auth component properties. HTH 2008/8/24, mario <[EMAIL PROTECTED]>: > > Hello, > > How can I configure the Auth component so that > it will redirect me to the login action of my admins_controller > everytime someone access an unauthor

Auth Component admin login redirect for unauthorized page access

2008-08-24 Thread mario
Hello, How can I configure the Auth component so that it will redirect me to the login action of my admins_controller everytime someone access an unauthorized page? I see that it redirects me to the login action of my user_controller which I don't want to happen. Here is a snippet of my app_con