The passwords after migration donot work.Since drupal 6 uses md5 and drupal 7 sha512,i guess this problem exists.There should be a method to handle this case while migrating user passwords.

Comments

mikeryan’s picture

Category: bug » feature
Priority: Critical » Normal
mikeryan’s picture

Title: User migration from drupal 6 to drupal 7 » Method of dealing with differently-encrypted passwords
moshe weitzman’s picture

Priority: Normal » Minor

Drupal 7 handles this during upgrade (converted, but weaker passwords) and again at login time. IIRC. Look at the upgrade path for this code.

geerlingguy’s picture

Subscribe.

mikeryan’s picture

Status: Active » Fixed

Committed - if your source passwords are MD5, then indicate so when creating your destination:

  $this->destination = new MigrateDestinationUser(array('md5_passwords' => TRUE);

This will mimic the effect of the D6->D7 upgrade.

geerlingguy’s picture

Nice.

Automatically closed -- issue fixed for 2 weeks with no activity.