Skip to content

Commit

Permalink
Merge pull request #121 from swm-nodriversomabus/FIX-LOGOUT-LOGIN
Browse files Browse the repository at this point in the history
fix(BE): log추가 - 개발 서버 반영 후 결과 파악 #114
  • Loading branch information
namhyo01 authored Oct 18, 2023
2 parents e9d1aeb + 0406c5c commit c56883b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ public class MyLogoutSuccessHandler implements LogoutSuccessHandler {
@Override
public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException {
//로그 아웃 성공시 ok 보내자
log.info("welcome logout success handler");
Cookie[] cookies = request.getCookies();
if(cookies != null) {
for (Cookie cookie : request.getCookies()) {
String cookieName = cookie.getName();
log.info(cookieName);
if(cookieName.equals("access_token")){
String accessToken = cookie.getValue();
log.info("access_token : {}", accessToken);
Expand Down

0 comments on commit c56883b

Please sign in to comment.