diff --git a/system/security.php b/system/security.php index a22ce93..0de7bd3 100644 --- a/system/security.php +++ b/system/security.php @@ -261,10 +261,8 @@ if(!function_exists("check_match_password")) { switch($algo) { case "sha1": - $n_hashed_text = get_hashed_text($n_plain_text, $algo); - $flag = ($n_hashed_text == $p); - break; case "md5": + case "crc32": $n_hashed_text = get_hashed_text($n_plain_text, $algo); $flag = ($n_hashed_text == $p); break;