Magic Hash 관련 비밀번호 체크 코드 수정

This commit is contained in:
chicpro
2015-05-13 17:10:08 +09:00
parent 2705b9312c
commit 01a31bb18f
16 changed files with 42 additions and 18 deletions

View File

@ -31,7 +31,7 @@ else if ($is_admin == 'group') { // 그룹관리자
} else {
if ($write['mb_id'])
alert('로그인 후 삭제하세요.', './login.php?url='.urlencode('./board.php?bo_table='.$bo_table.'&wr_id='.$wr_id));
else if (sql_password($wr_password) != $write['wr_password'])
else if (!check_password($wr_password, $write['wr_password']))
alert('비밀번호가 틀리므로 삭제할 수 없습니다.');
}