From 1eda40ca7aad3f84b0f901a3f80080fb6f7e9dfc Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 1 Oct 2026 16:24:47 +0900 Subject: [PATCH] =?UTF-8?q?261001=5F02=5FENH:=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=EC=9E=90=20ID=20=EC=9E=90=EB=A6=AC=EC=88=98=20=ED=97=88?= =?UTF-8?q?=EC=9A=A9=20=EC=A1=B0=EA=B1=B4=202~16=EC=9E=90=EB=A6=AC?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/kri/contact/server/service/UserService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/kri/contact/server/service/UserService.java b/src/main/java/com/kri/contact/server/service/UserService.java index f9f6478..e21f8b7 100644 --- a/src/main/java/com/kri/contact/server/service/UserService.java +++ b/src/main/java/com/kri/contact/server/service/UserService.java @@ -274,8 +274,8 @@ public class UserService { if (userId == null || userId.isBlank()) { return new DataVerificationDto(false, "사용자 ID", "사용자 ID가 비었습니다."); } - if (userId.length() < 3 || userId.length() > 16) { - return new DataVerificationDto(false, "사용자 ID", "사용자 ID는 3~15 자리여야 합니다."); + if (userId.length() < 2 || userId.length() > 16) { + return new DataVerificationDto(false, "사용자 ID", "사용자 ID는 2~16 자리여야 합니다."); } if (!userId.matches("^[a-z가-힣][a-z0-9가-힣]+$")) { return new DataVerificationDto(false, "사용자 ID", "사용자 ID는 한글, 영소문자, 숫자만 허용합니다.");