Skip to content

Commit

Permalink
refactor: 비밀번호 조건 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
xxoznge committed Jul 29, 2024
1 parent e2ea6bc commit 1915cc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public record UserJoinRequest(
String username,
@NotBlank(message = "[ERROR] 비밀번호 입력은 필수입니다.")
@Size(min = 10, max = 100, message = "[ERROR] 비밀번호는 최소 10자리 이상이어야 합니다.")
@Pattern(regexp = "^[a-zA-Z]{10,100}$", message = "[ERROR] 비밀번호는 영어여야 합니다.")
@Pattern(regexp = "^[a-zA-Z0-9]{10,100}$", message = "[ERROR] 비밀번호는 영어여야 합니다.")
String password,
@NotBlank(message = "[ERROR] 닉네임 입력은 필수입니다.")
@Pattern(regexp = "^[가-힣]{2,7}$", message = "[ERROR] 닉네임은 한글로 2~7글자여야 합니다.")
Expand Down

0 comments on commit 1915cc5

Please sign in to comment.