Hi,

I found this module and am trying to use it on a site to import users from D6->D7.

It works as expected, however, it also updates password for users which already exist in D7 (in my case, it was unique username and din't exist in D6).

I was able to login using old D6 password for different user. But when I tried to login with user which was already in D7, it din't work. I had to manually reset the password (it was UID=1 account in D7) for it to work.

I looked at the code but am not familiar with code in this module (still looking and will update if I find where it's happening).

Can someone please help?

Thanks

Comments

mikeryan’s picture

Status: Active » Postponed (maintainer needs more info)

Can you describe a little more concretely what's happening? Did the D7 account that had its password changed have the same email address or username as an imported D6 account, and get its password updated to that D6 password?

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Michael_Lessard_micles.biz’s picture

I may know the answer.

D6 uses a different password encoding as D7 (D6 uses MD5 while D7 uses SHA1). So when you import, there is a special D7 feature that allows the initial D6 password to work once if it is prepended with a 'U', allowing the change.

The easiest and best way to import D6 passwords to D7 is here.