Import users password
-
The import process works but when tried to login with the password set on an impoerted user de password was not encrypted, therefore user was not able to login. WordPress uses md5 encryption and saves this to the DB.
had to edit users-customers-import-export-for-wp-woocommerce/includes/importer/class-wf-csv-parser.php
and added this:
if ($key === ‘user_pass’ && !empty($user_details[$key])) {
$user_details[$key] = md5($user_details[$key]);
}in the foreach loop under the parse_users function. Please correct it so next update this fix is not overwritten.
I took one star since there’s no reply on this message.
- The topic ‘Import users password’ is closed to new replies.