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

This commit is contained in:
chicpro
2015-05-13 16:39:13 +09:00
parent 9cb8f73738
commit b6d84674f6
16 changed files with 42 additions and 18 deletions

View File

@ -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('비밀번호가 틀립니다.');
// 세션에 아래 정보를 저장. 하위번호는 비밀번호없이 보아야 하기 때문임.