RE: AuthComponent action manipulation.

2011-02-17 Thread Krissy Masters
lf Of Christophe Sent: Thursday, February 17, 2011 9:22 AM To: CakePHP Subject: AuthComponent action manipulation. Hi there I'm working on an app where schools should able to login. I just read the cookbook and used the api to understand the component but i'm missing a link I believe.

Re: AuthComponent action manipulation.

2011-02-17 Thread cricket
On Thu, Feb 17, 2011 at 7:52 AM, Christophe wrote: > Hi there > > I'm working on an app where schools should able to login. > I just read the cookbook and used the api to understand the component > but i'm missing a link I believe. > > My controller 'school_controller' has an action 'login'. > And

Re: AuthComponent action manipulation.

2011-02-17 Thread Stephen
Try: Form->create('School', array('action' => 'login')); ?> If your form is being called from the /schools/login action then just do Form->create('School'); ?> HTH On 17 February 2011 12:52, Christophe wrote: > Hi there > > I'm working on an app where schools should able to login. > I just r

AuthComponent action manipulation.

2011-02-17 Thread Christophe
Hi there I'm working on an app where schools should able to login. I just read the cookbook and used the api to understand the component but i'm missing a link I believe. My controller 'school_controller' has an action 'login'. And I've set the userModel and fields. $this->Auth->userModel = 'Scho