Blasteh
big tits
Hello,
I'm resetting my hotel and I want to encrypt passwords differently. I want to use a more secure one, such as bcrypt.
By default, rev uses md5.
I want to use a more secure method, but after changing it, I cannot login as it says "Details do not Match".
The password does encrypt to bcrypt in the database, the only problem is – I cannot login!
I'm resetting my hotel and I want to encrypt passwords differently. I want to use a more secure one, such as bcrypt.
By default, rev uses md5.
Code:
final public function hashed($password)
{
return md5($password);
}
I want to use a more secure method, but after changing it, I cannot login as it says "Details do not Match".
PHP:
final public function hashed($password)
{
return password_hash($password, PASSWORD_BCRYPT);
}
The password does encrypt to bcrypt in the database, the only problem is – I cannot login!
Last edited: