WordPress.org

Ready to get started?Download WordPress

Forums

Import Users from CSV
[resolved] Import Hashed/MD5 password(s) (2 posts)

  1. salocined
    Member
    Posted 2 years ago #

    Thanks for a great tool, successfully imported 1800 users with custom metadata!

    1 importantq uestion.
    I have a PASSWORD column on my CSV, where the password has been Hashed/MD5'd.
    Content looks like 2a935dc750fda986e62e293f01553792

    Looking at this, http://wordpress.stackexchange.com/questions/6118/importing-users-where-password-is-provided-as-md5-much-metadata

    The first response says we can't use wp_insert_user(like you do in the script) as the wp_insert_user expect Plain text.

    So my question will be, do you have any idea how to modify your code to decrypt the Hashed password before trying to insert the new user?

    thx in advance

    http://wordpress.org/extend/plugins/import-users-from-csv/

  2. Ulrich Sossou
    Member
    Plugin Author

    Posted 2 years ago #

    It is not possible to decrypt the hashes (that's the point of storing hashed passwords in the database).

    You could write a modified version of wp_insert_user and modify the plugin code to use it instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic