Skip to content

Commit

Permalink
fix: cookie log
Browse files Browse the repository at this point in the history
  • Loading branch information
sinryuji committed Feb 5, 2024
1 parent dbfc8cf commit 9a268ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/peer/backend/config/jwt/TokenProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public String resolveAccessToken(HttpServletRequest req) {
Cookie[] cookies = req.getCookies();
Cookie cookie = this.utilService.getCookieByName(cookies, "adminToken");
if (Objects.nonNull(cookie)) {
log.info("cookie??");
bearerToken = cookie.getValue();
}
return bearerToken;
Expand Down

0 comments on commit 9a268ba

Please sign in to comment.