This topic is locked
[SOLVED]

 Problem with Password Encryption

12/14/2009 1:34:52 AM
PHPRunner General questions
romaldus author

When login as an administrator and go to the ADMIN AREA >> Add/Edit Users

I Tried to change password using EDIT function... and then the password become readable (plaintext)..

BTW password encryption can only works with registration form or change password page ....
How to solve this problem?

J
Jane 12/14/2009

Hi,
to encrypt passwords on the add/edit pages use Before record added/Before record updated events on the Events tab.

Here is a sample:

$values["PasswordField"] = md5($values["PasswordField"]);