Skip to content

Commit

Permalink
Merge pull request #51 from Murakano/dev
Browse files Browse the repository at this point in the history
♻️ 로그아웃 토큰 옵션 추가
  • Loading branch information
jjikky authored Jul 10, 2024
2 parents bb9deef + 6a740ba commit 7692bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/user/user.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ exports.getProfile = (req, res) => {
};

exports.logout = (_, res) => {
res.clearCookie('refreshToken');
res.clearCookie('refreshToken', config.cookieInRefreshTokenOptions);
return sendResponse.ok(res, {
message: SuccessMessage.LOGOUT_SUCCESS,
});
Expand Down

0 comments on commit 7692bb6

Please sign in to comment.