Skip to content

Commit

Permalink
SocialLogin error해결
Browse files Browse the repository at this point in the history
  • Loading branch information
SeWooooong committed Sep 4, 2024
1 parent b587d54 commit fadb83a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.example.mssaembackendv2.domain.mbti.MbtiEnum;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
Expand All @@ -22,7 +23,7 @@ public static class SocialLoginToken {
@AllArgsConstructor
public static class RegisterMember {
@NotBlank(message = "이메일 형식이 아닙니다.")
@Email(message = "이메일 형식이 아닙니다.")
@Pattern(regexp = "^[A-Za-z0-9+_.-]+@[A-Za-z0-9.-]+$", message = "이메일 형식이 아닙니다.")
private String email;
@NotBlank(message = "닉네임은 공백일 수 없습니다.")
private String nickName;
Expand Down

0 comments on commit fadb83a

Please sign in to comment.