260306_01_ENH: 로그인 시도시 id, pw 틀리면 404가 아닌 403
This commit is contained in:
@@ -22,7 +22,7 @@ public class UserService {
|
|||||||
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
|
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
|
||||||
|
|
||||||
if(userBasicInfoEntityList.isEmpty()) {
|
if(userBasicInfoEntityList.isEmpty()) {
|
||||||
throw BusinessException.notFound("USER_NOT_FOUND", "사용자가 없습니다.")
|
throw BusinessException.forbidden("USER_NOT_FOUND", "사용자가 없습니다.")
|
||||||
.with("userId", userId)
|
.with("userId", userId)
|
||||||
.with("userPw", userPw);
|
.with("userPw", userPw);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user