mysql old password 체크하는 루틴에서 무조건 인증 성공으로 취급되던 잘못된 부분 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2373 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-22 04:29:58 +00:00
parent d55b8ad94a
commit 7510b2a5e6

View file

@ -893,8 +893,7 @@
$password_args->password = md5($password);
$output = executeQuery('member.updateMemberPassword', $password_args);
if(!$output->toBool()) return $output;
}
} else return new Object(-1, 'invalid_password');
// md5(), mysql old_password와도 다르면 잘못된 비빌번호 오류 메세지 리턴
} else {
return new Object(-1, 'invalid_password');