Skip to content

Commit

Permalink
Merge pull request #234 from OutDecision/issue/216
Browse files Browse the repository at this point in the history
[BUGFIX]: 동시접속 에러
  • Loading branch information
baeksom authored May 27, 2024
2 parents 49c41a1 + 9300925 commit 456f9cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {

// JWT 인증 필터를 UsernamePasswordAuthenticationFilter 앞에 추가한다.
return http
.addFilterBefore(jwtExceptionFilter, UsernamePasswordAuthenticationFilter.class)
.addFilterBefore(jwtAuthFilter, JwtExceptionFilter.class)
.addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class)
.addFilterBefore(jwtExceptionFilter, JwtAuthFilter.class)
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
response.setContentType(MediaType.APPLICATION_JSON_VALUE);
response.setCharacterEncoding("UTF-8");
objectMapper.writeValue(response.getWriter(), ApiResponse.onFailure("401",e.getMessage(),null));
// deleteCookie(response, "Authorization");
}
}
}

0 comments on commit 456f9cf

Please sign in to comment.