Skip to content

Commit bcef84d

Browse files
committed
logout issue fix
1 parent 8222774 commit bcef84d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

backend/utils/jwtToken.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const sendToken = (user, statusCode, res) => {
66
const options = {
77
expires: new Date(Date.now() + 90 * 24 * 60 * 60 * 1000),
88
httpOnly: true,
9-
sameSite: "none",
109
secure: true,
1110
};
1211

backend/utils/shopToken.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const sendShopToken = (user, statusCode, res) => {
66
const options = {
77
expires: new Date(Date.now() + 90 * 24 * 60 * 60 * 1000),
88
httpOnly: true,
9-
sameSite: "none",
109
secure: true,
1110
};
1211

0 commit comments

Comments
 (0)