Import Drupal user accounts into Rails without req

2019-07-17 09:54发布

I would like to import a series of Drupal user accounts into a new Rails project. I am using Devise for the user authentication in Rails.

I would like to be able to import the encrypted passwords from Drupal into rails so that users have a seamless experience when the site is migrated over.

Any ideas on how to do this?

1条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-07-17 10:14

it seems that drupal stores the passwords encrypted with md5, so if in your rails application you'll check the md5 computed on the user input against the encrypted password stored in drupal, then you'll get the match

查看更多
登录 后发表回答