비밀번호 체크관련 코드 수정
This commit is contained in:
@ -6,7 +6,7 @@ if ($w == 's') {
|
||||
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
|
||||
if (sql_password($wr_password) != $wr['wr_password'])
|
||||
if (!check_password($wr_password, $wr['wr_password']))
|
||||
alert('비밀번호가 틀립니다.');
|
||||
|
||||
// 세션에 아래 정보를 저장. 하위번호는 비밀번호없이 보아야 하기 때문임.
|
||||
@ -20,7 +20,7 @@ if ($w == 's') {
|
||||
|
||||
$wr = get_write($write_table, $wr_id);
|
||||
|
||||
if (sql_password($wr_password) != $wr['wr_password'])
|
||||
if (!check_password($wr_password, $wr['wr_password']))
|
||||
alert('비밀번호가 틀립니다.');
|
||||
|
||||
// 세션에 아래 정보를 저장. 하위번호는 비밀번호없이 보아야 하기 때문임.
|
||||
|
||||
Reference in New Issue
Block a user