We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6a3614 + 6cac241 commit 7879a9eCopy full SHA for 7879a9e
1 file changed
app/Utils/Helper.php
@@ -86,6 +86,7 @@ public static function multiPasswordVerify($algo, $salt, $password, $hash)
86
case 'md5': return md5($password) === $hash;
87
case 'sha256': return hash('sha256', $password) === $hash;
88
case 'md5salt': return md5($password . $salt) === $hash;
89
+ case 'sha256salt': return hash('sha256', $password . $salt) === $hash;
90
default: return password_verify($password, $hash);
91
}
92
0 commit comments