Thursday, January 27, 2022

[FIXED] Password migration from Drupal to Yii

Issue

Has anyone already migrate a site from Drupal to Yii? Is there some code in Yii that can implement the Drupal encryption and salt for user password?


Solution

I have, but not to YII. Its not a big deal. You can use the same salt and encryption in YII as well (easier since both are PHP based).

Check these two pages:
http://www.yiiframework.com/wiki/425
https://api.drupal.org/api/drupal/includes!password.inc/function/user_hash_password/7



Answered By - Amrit Bera

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.