Yeah within the User model I have the following:

    function hashPasswords($data) {
         $data['User']['pass'] = md5($data['User']['pass']);
         return $data;
    }

I tried moving up the parent::beforeFilter(); but still had the same
issue.

On the other hand most of my controllers don't have any beforeFilter()
function defined as I didn't want to allow public access to any of
their functions.

So if I remove the beforeFilter() function altogether from the
controllers, shouldn't everything still work?

So far if I just remove app_controller from my controller folder
everything goes back to normal but I have no authentication :(

Any other ideas?

Thanks for the reply by the way.

On Sep 16, 8:41 pm, Miles J <[email protected]> wrote:
> So do you have your own hashing method for $this->Auth->authenticate?
>
> Also your problem is, is that parent::beforeFilter() must be run first.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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