Skip to content

Commit 6be155b

Browse files
committed
fix: filter 순서 변경
1 parent e526083 commit 6be155b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/myteam/server/global/security/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
233233
);
234234

235235
// JWT 인증 및 토큰 검증 필터 추가
236-
http.addFilterAt(
236+
http.addFilterBefore(
237237
new JwtAuthenticationFilter(authenticationManager(), jwtProvider, eventPublisher, redisService),
238238
UsernamePasswordAuthenticationFilter.class
239239
)

0 commit comments

Comments
 (0)