Re: Security component: Disabling a single controller action

2010-09-17 Thread Jeremy Burns | Class Outfit
Perfect and so simple. I should have thought of that myself. Thanks. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 17 Sep 2010, at 17:58, Miles J wrote: > if ($this->action == 'foobar') { > $this->Security->validatePost = false; > } > > On Sep 16, 11:53 pm

Re: Security component: Disabling a single controller action

2010-09-17 Thread Miles J
if ($this->action == 'foobar') { $this->Security->validatePost = false; } On Sep 16, 11:53 pm, Jeremy Burns wrote: > Is it possible to exclude a single controller action from the Security > component? At present I have $this->Security->validatePost = false; in > the controller's beforeFilter, whi

Security component: Disabling a single controller action

2010-09-16 Thread Jeremy Burns
Is it possible to exclude a single controller action from the Security component? At present I have $this->Security->validatePost = false; in the controller's beforeFilter, which means that all actions are insecure. Check out the new CakePHP Questions site http://cakeqs.org and help others with t