PHP password_verify() always returns false – FIGURED IT OUT
FIGURED IT OUT: I was checking only the value of my var_dump, I wasn’t paying attention to data type – I was returning the hash in an array and passing that in to password_verify(), which won’t work. Once I isolated only the string, it worked.
PHP password_verify() always returns false
I am using password_hash() to hash user passwords and attempting to use password_verify() on login, however password_verify() always returns false. I have tried using both PASSWORD_DEFAULT and PASSWORD_BCRYPT, same behavior.
I have seen in the solutions to others asking this question that the solution is either: