Просмотр исходного кода

fix: 删除空的redicrt cookie

Jinyao 5 лет назад
Родитель
Сommit
5a69c5200d

+ 0 - 2
seecoder-portal-server/src/main/java/cn/seecoder/seecoderportalserver/web/rest/UserJWTController.java

@@ -59,8 +59,6 @@ public class UserJWTController {
                 authenticationManagerBuilder.getObject().authenticate(authenticationToken);
                 authenticationManagerBuilder.getObject().authenticate(authenticationToken);
         SecurityContextHolder.getContext().setAuthentication(authentication);
         SecurityContextHolder.getContext().setAuthentication(authentication);
         String jwt = tokenProvider.createToken(authentication);
         String jwt = tokenProvider.createToken(authentication);
-        Cookie redirectUriCookie = new Cookie("redirect_uri", null);
-        response.addCookie(redirectUriCookie);
 
 
         TokenVO tokenVO = new TokenVO();
         TokenVO tokenVO = new TokenVO();
         tokenVO.setToken(jwt);
         tokenVO.setToken(jwt);