Alternative for this will be to extend auth component (ex:- MyAuthComponent
extends AuthComponent) and to override password() method like
function password($password)
{
return md5($password);
}
then to use MyAuth instead of Auth
On Sun, Apr 27, 2008 at 8:03 AM, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
> I am using the Auth component and am having some problems with the
> users' passwords. I was storing them as MD5's but when I began using
> the Auth component, i began getting invalid username/password issues.
> How does Auth encrypt the passwords. Is there a way in which I can
> make Auth use MD5?
>
> Thanks as always for the help.
> >
>
--
Regards,
Amit
http://amitrb.wordpress.com/
http://coppermine-gallery.net/
http://cheesecake-photoblog.org/
http://www.sanisoft.com/blog/author/amitbadkas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---