Jump to content

Migrating login data to PW


thomas
 Share

Recommended Posts

Hello,

I need to migrate a bunch of users from an old symfony site to the brand new PW one. Symfony saves the passwords as md5 hashes in the DB but  I can't figure out how to configure PW for this. I set 

$config->userAuthHashType = 'md5';
$config->userAuthSalt = '';

and pasted the hash into the field_pass DB table of a working user. No success.

What else is there to do??

Thanks,

thomas

Link to comment
Share on other sites

Thomas, I don't think you can use pw password field in this. Create new field for legacy pass and save the md5 hash there. Then hook into login to check for that also. And remember to remove the legacy pass when user change his password.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...