The field of password is not encrypted

danielone80 13 Aug, 2009
Hi,
i have a problem, i have followed the tutorial "Saving data to the database" with success, but when the field of password is written to my database it is in clear(visible).

Is possible encrypt it?


Thanks a lot
Daniel
P.s Sorry for my bad english
GreyHead 16 Aug, 2009
Hi Daniel,

What kind of password is this? You don't need to save the Joomla password as that is done for you in the jos_users table.

The approach that Joomla uses is to save an MD5 hash for the password - not the password itself and it compares the hashes when you login. So, actually, after you register Joomla doesn't 'know' your password.

Bob
danielone80 18 Aug, 2009
Hi Bob, thanks for you reply...

I wanted save the password in other table too.
Is possible to encrypt it?

Daniel
GreyHead 19 Aug, 2009
Hi Daniel,

Yes you can run a little PHP in the OnSubmit Before box to encrypt it ( or MySQL can do it for you if you are suing your own query to save it).

Bob
This topic is locked and no more replies can be posted.