This topic is locked

Passwords not encrypting?

8/17/2007 11:01:30 PM
PHPRunner General questions
F
fsteves author

Using 4.1 (b288):
I somehow lost the ability to encrypt passwords, and they are all entered in plain text. I tried resetting the Add page for my Users table, but to no avail. My only option was to md5() the value in the _add.php page like this:

// processing password
...
if(!($value===false))

{

$avalues["password"]=md5($value);

}
...


Is this a known issue? If not, where does the password get encrypted, because I tried grep'ing for 'md5' and I cannot seem to figure out which function is check when "Encrypt Passwords" is checked.
Also, what are the implications on doing it this way?

Sergey Kornilov admin 8/19/2007

Passwords are encrypted when user register himself using register.php page.

F
fsteves author 8/20/2007

I am finalizing a system for passwords in the $PROGRAM_DIR\source folder, because if you can discern between the table, you should be able to change the password and re-encrypt it. Perhaps this will be a future update?