This topic is locked

password encryption

11/10/2009 5:33:44 AM
PHPRunner General questions
T
tkjerulf author

Hi, using dynamic permission under security tab.

  1. I set encrypt passwords on, under password management in user login settings.
  2. I click add new user at permissions, using dynamic permissions.
  3. User is succssefully added
  4. At login page, i cant login because the password is stored in the DB as normal text.
    any help appriciated.
    thanks

    T

J
Jane 11/10/2009

Hi,
passwords are encrypted automatically on the 'register' and 'change password' pages only.

You need to encrypt passwords in the Before record added event on the Events tab manually. Here is a sample:

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