From 6a740bab3659f85340dcd3932a32074429f298e3 Mon Sep 17 00:00:00 2001 From: jjikky Date: Wed, 10 Jul 2024 22:49:45 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=95=84=EC=9B=83=20=ED=86=A0=ED=81=B0=20=EC=98=B5=EC=85=98=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/user/user.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/user/user.controller.js b/src/routes/user/user.controller.js index 1442794..914f691 100755 --- a/src/routes/user/user.controller.js +++ b/src/routes/user/user.controller.js @@ -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, });