🎨 fix: 修改注释

Šī revīzija ir iekļauta:
weihongyang
2022-08-15 14:20:27 +08:00
vecāks c02c6cab10
revīzija bf24b8a7e5

Parādīt failu

@@ -55,7 +55,6 @@ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter {
throw new RuntimeException("用户未登录");
}
//存入SecurityContextHolder
//TODO 获取权限信息封装到Authentication中
UsernamePasswordAuthenticationToken authenticationToken =
new UsernamePasswordAuthenticationToken(loginUser,null,loginUser.getAuthorities());
SecurityContextHolder.getContext().setAuthentication(authenticationToken);