Update security.php
This commit is contained in:
parent
3fad6e98c9
commit
b3f03c4c63
|
@ -261,10 +261,8 @@ if(!function_exists("check_match_password")) {
|
||||||
|
|
||||||
switch($algo) {
|
switch($algo) {
|
||||||
case "sha1":
|
case "sha1":
|
||||||
$n_hashed_text = get_hashed_text($n_plain_text, $algo);
|
|
||||||
$flag = ($n_hashed_text == $p);
|
|
||||||
break;
|
|
||||||
case "md5":
|
case "md5":
|
||||||
|
case "crc32":
|
||||||
$n_hashed_text = get_hashed_text($n_plain_text, $algo);
|
$n_hashed_text = get_hashed_text($n_plain_text, $algo);
|
||||||
$flag = ($n_hashed_text == $p);
|
$flag = ($n_hashed_text == $p);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user