Skip to content

Commit 5aed1a8

Browse files
Merge pull request #221 from Podo-Store/develop
fix/필터 무한 실행 수정
2 parents 76b30f8 + 1db42e2 commit 5aed1a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/PodoeMarket/podoemarket/common/security/JwtAuthenticationFilter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
8484
}
8585
}else{
8686
log.warn("Token is null");
87+
filterChain.doFilter(request, response);
88+
return;
8789
}
8890
}catch (Exception e){
8991
logger.error("Could not set user authentication in security context", e);

0 commit comments

Comments
 (0)