mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
mysql old password 체크하는 루틴에서 무조건 인증 성공으로 취급되던 잘못된 부분 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2373 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d55b8ad94a
commit
7510b2a5e6
1 changed files with 1 additions and 2 deletions
|
|
@ -893,8 +893,7 @@
|
||||||
$password_args->password = md5($password);
|
$password_args->password = md5($password);
|
||||||
$output = executeQuery('member.updateMemberPassword', $password_args);
|
$output = executeQuery('member.updateMemberPassword', $password_args);
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
}
|
} else return new Object(-1, 'invalid_password');
|
||||||
|
|
||||||
// md5(), mysql old_password와도 다르면 잘못된 비빌번호 오류 메세지 리턴
|
// md5(), mysql old_password와도 다르면 잘못된 비빌번호 오류 메세지 리턴
|
||||||
} else {
|
} else {
|
||||||
return new Object(-1, 'invalid_password');
|
return new Object(-1, 'invalid_password');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue