password_verify() with generated hash from Myth-auth returns false |
I know that Myth-auth is not stable yet, but it's okay that's not my point.
I want to make a change password feature so I wrote this in my controller: Code: $oldPass=$this->request->getPost('oldPass'); I don't know what's wrong with my code, but it returns false a4 so I checked again using a hardcoded password like this: Code: $check=password_verify('bayusetiaji14', user()->password_hash); but it's still returning false, is this a Myth-auth bug when hashing password or anything else?
I've used the Entity class itself, this way the password is stored like MythAuth does.
see: https://github.com/lonnieezell/myth-auth...er.php#L55 |
Welcome Guest, Not a member yet? Register Sign In |