I used a very similar approach but my redirect urls were just '/users/
login' and '/users/account' and it worked perfectly fine on
1.2alpha.

Geoff

On Aug 25, 10:22 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I used a users plugin (cake\app\plugins\users) to manager users in my
> application.
>
> auth config:
> $this->Auth->authorize = 'controller';
> $this->Auth->userModel = 'User';
> $this->Auth->fields = array(
>     'username' => 'username', 'password' => 'password'
> );
> $this->Auth->allowedActions = array('login');
> $this->Auth->autoRedirect = true;
> $this->Auth->loginAction = '/users/users/login';
> $this->Auth->loginRedirect = '/users/users/index';
>
> when redirect to login url,
>
> my url redirect to "/login", not to "/users/users/login"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to