We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question, Problem, Forms

Modifying the Member App


I need help regarding this situation, I need to update the perch2_members using my other database, I can easily add the EmailAddress and Member Properties, But I'm having a hard time adding there password because it is encrpted on the database. Is there a way to use the Encrypting and Decrypting Function of members app ? so that I can automatically add my users from my other database to perch2_members ?

Any comments and suggestions are welcome ^_^

Thank you in advance.

JRden Fadallan

JRden Fadallan 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you include the Perch API and have the clear text password you can do this:

$Hasher = new PasswordHash(8, true);
$encrypted_pwd = $Hasher->HashPassword($clear_pwd);

You shouldn't keep the clear text password if you have it.