• Resolved johnfisher2

    (@johnfisher2)


    I have set up all of my functionality to add a user to my external database and I am hung up on the encryption.

    In my Gravity Forms hook I am calling:

    $pw = password_hash($entry[‘7’], PASSWORD_BCRYPT);

    And getting an entry in my database that looks like a hashed password. When I turn on BCRYPT in External Login, I cannot login with this newly created account. I CAN login with a different account that uses a clear password.

    I am at a loss as to how to troubleshoot this one.

Viewing 1 replies (of 1 total)
  • Thread Starter johnfisher2

    (@johnfisher2)

    I took a fresh look this morning and changed the PASSWORD_BCRYPT to PASSWORD_DEFAULT in an effort to figure out a different method of hashing passwords that would work. I then turned on ‘bcrypt’ in External Login and IT WORKED!!! :). No clue why PASSWORD_BCRYPT and External Login’s bcrypt were not playing nice.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with encryption’ is closed to new replies.