답변 2개
6년 전
/lib/common.lib.php
에서
// 문자열 암호화 function get_encrypt_string($str) { if(defined('G5_STRING_ENCRYPT_FUNCTION') && G5_STRING_ENCRYPT_FUNCTION) { $encrypt = call_user_func(G5_STRING_ENCRYPT_FUNCTION, $str); } else { $encrypt = sql_password($str); }
return $encrypt; }
// 비밀번호 비교 function check_password($pass, $hash) { $password = get_encrypt_string($pass);
return ($password === $hash); }
해당부분은 wp의 암호화 방식으로 변경하세요
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인