260306_01_ENH: 로그인 시도시 id, pw 틀리면 404가 아닌 403

This commit is contained in:
2026-03-06 09:05:15 +09:00
parent c2c2fcd585
commit 2d90f404bb

View File

@@ -22,7 +22,7 @@ public class UserService {
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
if(userBasicInfoEntityList.isEmpty()) {
throw BusinessException.notFound("USER_NOT_FOUND", "사용자가 없습니다.")
throw BusinessException.forbidden("USER_NOT_FOUND", "사용자가 없습니다.")
.with("userId", userId)
.with("userPw", userPw);
}