Skip to content

Commit

Permalink
[#43] refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyoungchoi95 committed Sep 7, 2021
1 parent 4c8a4d6 commit 9d81f02
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
resolveToken(request).ifPresent(
token -> jwtService.getUser(token).ifPresent(
user -> {
JwtAuthentication authentication = new JwtAuthentication(user.id(),
token);
JwtAuthentication authentication = new JwtAuthentication(user.id(), token);
SecurityContextHolder.getContext().setAuthentication(authentication);
}
)
Expand Down

0 comments on commit 9d81f02

Please sign in to comment.