Skip to content

Commit 41b5f85

Browse files
committed
refactor: 비밀번호 패턴 특수문자 수정
1 parent 106b086 commit 41b5f85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/life/mosu/mosuserver/global/annotation/PasswordPattern.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import java.lang.annotation.RetentionPolicy;
1010
import java.lang.annotation.Target;
1111

12-
@Pattern(regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[!@#$%^&*_/+=-])[A-Za-z\\d!@#$%^&*_/+=-]{8,20}$", message = "비밀번호 형식이 올바르지 않습니다.")
12+
@Pattern(regexp = "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[!@#$%^&*_/+=])[A-Za-z\\d!@#$%^&*_/+=]{8,20}$", message = "비밀번호 형식이 올바르지 않습니다.")
1313
@NotBlank
1414
@Target({ElementType.FIELD, ElementType.PARAMETER})
1515
@Retention(RetentionPolicy.RUNTIME)

0 commit comments

Comments
 (0)