Skip to content

Commit

Permalink
chore: make the issue the cookie code as comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JIUNG9 committed Jan 15, 2024
1 parent e767ef1 commit 4024b73
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 @@ -29,8 +29,8 @@ public void createRefreshToken(String userId, HttpServletResponse response) {
String refreshToken = JwtUtil.generateRefreshToken(String.valueOf(userId));
redisRefreshTokenUtil.saveRefreshToken(userId, refreshToken,
Long.parseLong(SecurityPolicyStaticValue.REFRESH_EXPIRATION_TIME));
response.addCookie(CookieUtil.createCookie(refreshCookieName, refreshToken,
lifeTime.intValue(), domain));
// response.addCookie(CookieUtil.createCookie(refreshCookieName, refreshToken,
// lifeTime.intValue(), domain));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.bit.lot.flower.auth.common.exception.AuthException;
import com.bit.lot.flower.auth.common.security.TokenHandler;
import com.bit.lot.flower.auth.common.util.CookieUtil;
import com.bit.lot.flower.auth.common.util.ExtractAuthorizationTokenUtil;
import com.bit.lot.flower.auth.common.util.JwtUtil;
import com.bit.lot.flower.auth.common.util.RedisBlackListTokenUtil;
import com.bit.lot.flower.auth.common.util.RedisRefreshTokenUtil;
Expand Down

0 comments on commit 4024b73

Please sign in to comment.