Skip to content

Commit a436a08

Browse files
committed
feat: JWT 인증 필터에서 검증 토큰 처리 로직 간소화
1 parent 73d25a3 commit a436a08

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/main/java/org/ject/support/common/security/jwt/JwtAuthenticationFilter.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
7070
clearAuthCookie(response, "verificationToken");
7171
SecurityContextHolder.clearContext();
7272
}
73-
74-
String email = jwtTokenProvider.extractEmailFromVerificationToken(verificationToken);
75-
76-
Authentication auth = createVerificationAuthentication(email);
77-
SecurityContextHolder.getContext().setAuthentication(auth);
7873
}
7974

8075
chain.doFilter(request, response);

0 commit comments

Comments
 (0)