From b3f03c4c63b6c24840fe6b4abb97f8ebbddd9ae2 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 24 Sep 2018 03:11:22 +0900 Subject: [PATCH] Update security.php --- system/security.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;