Monday, February 23, 2009

Re: Password field not encrypting

Thanks to all, moving the $this->Auth settings to local
"beforeFilter"s in the users controller did the trick.

On Feb 23, 12:23 pm, brian <bally.z...@gmail.com> wrote:
> On Mon, Feb 23, 2009 at 11:41 AM, lirc201 <brian.e.lave...@gmail.com> wrote:
>
> > The beforeFilter is in app_controller.  I was wanting the settings to
> > be universal, although the more I think about it now perhaps it just
> > needs to be in the Users controller.  I assumed the beforeFilter in
> > app_controller would always be called automatically.  I'm not 100%,
> > still learning.
>
> If you have a beforeFilter method defined in any controller that
> extends AppController and you do not call parent::beforeFilter() then
> the method in AppController will not run.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: