diff --git a/Utils/jwtToken.js b/Utils/jwtToken.js index e8f3e38..240ae46 100644 --- a/Utils/jwtToken.js +++ b/Utils/jwtToken.js @@ -6,7 +6,7 @@ const sendToken = (user, statusCode, res) => { //options for cookie const options = { expires: new Date( - Date.now() + 3 * 24 * 60 * 60 * 1000 + Date.now() + 20 * 24 * 60 * 60 * 1000 ), httpOnly: true, }; diff --git a/tmp/tmp-1-1659959438596 b/tmp/tmp-1-1659959438596 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-1-1659959438596 differ diff --git a/tmp/tmp-2-1659959446590 b/tmp/tmp-2-1659959446590 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-2-1659959446590 differ diff --git a/tmp/tmp-3-1659959454178 b/tmp/tmp-3-1659959454178 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-3-1659959454178 differ diff --git a/tmp/tmp-4-1659959473205 b/tmp/tmp-4-1659959473205 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-4-1659959473205 differ diff --git a/tmp/tmp-5-1659959494012 b/tmp/tmp-5-1659959494012 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-5-1659959494012 differ diff --git a/tmp/tmp-6-1659959536977 b/tmp/tmp-6-1659959536977 new file mode 100644 index 0000000..f61ad05 Binary files /dev/null and b/tmp/tmp-6-1659959536977 differ