PHP - password_verify issue

前端 未结 1 953
一生所求
一生所求 2021-01-13 01:19

I have been scratching my head on this for over 2 hours. I have researched articles on stackoverflow including:

  • Issue with Bcrypt not verifying correctly

相关标签:
1条回答
  • 2021-01-13 02:00

    Problem was in the database - nothing to do with password_verify or password_hash. Datatype had a maximum amount of characters (only defined to 40 as I was made to by MySQL when creating tables). Moved to 60 and no more issues.

    0 讨论(0)
提交回复
热议问题