thomas Posted March 1, 2013 Share Posted March 1, 2013 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 More sharing options...
apeisa Posted March 1, 2013 Share Posted March 1, 2013 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. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now