mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
seed_pass_verify() checks strictly hash amd md5 of password
This commit is contained in:
parent
56d1173ecd
commit
53bca0e294
|
@ -963,7 +963,7 @@ function seed_pass_hash($password) { /* {{{ */
|
|||
* @return string hashed password
|
||||
*/
|
||||
function seed_pass_verify($password, $hash) { /* {{{ */
|
||||
return $hash == md5($password);
|
||||
return $hash === md5($password);
|
||||
} /* }}} */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user