Support

Home Forums Event Espresso Premium Double hashed password issue with wp_users

Double hashed password issue with wp_users

Posted: February 26, 2016 at 7:23 am


pixeltron

February 26, 2016 at 7:23 am

Hi Guys

Im adding in a password field into event espresso reg process + wp_user_intergration , I now have a working model but need the password field in the esp_attendee_meta table to be hashed I can hash it but then its encrypted before it gets passed to wp_users table which uses wp_users_spco.module $user_id = wp_create_user which encrypts it again meaning double encryption ive tried passing through as a array and wp_insert_user but the password still gets hashed is there another place the password hashing is happening or is this wp_create_user or wp_insert_user creating this issue , im by no means a wp expert just a frontend developer could someone point me in the right direction much appreciated . thanks josh


Tony

  • Support Staff

February 26, 2016 at 10:14 am

Hi there,

So you are adding a custom question within the registration form from within:

Event Espresso -> Registration form

Then using that field for the password for the user?

You need to pass the password to wp_create_user (or wp_insert_user) as plain text, if you passing it as a hashed value then yes that is where the double hash is happening.

Can you post an example of the code you are using to pastebin.com (or similar) and link it here so we can take a look. We can’t provide support for this but we can take a look and see if we can spot anything obvious.

The support post ‘Double hashed password issue with wp_users’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso