This commit is contained in:
pawan-dot 2022-08-10 13:53:32 +05:30
parent 4cbcc576a0
commit dee956afb5
7 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const sendToken = (user, statusCode, res) => {
//options for cookie //options for cookie
const options = { const options = {
expires: new Date( expires: new Date(
Date.now() + 3 * 24 * 60 * 60 * 1000 Date.now() + 20 * 24 * 60 * 60 * 1000
), ),
httpOnly: true, httpOnly: true,
}; };

BIN
tmp/tmp-1-1659959438596 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

BIN
tmp/tmp-2-1659959446590 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

BIN
tmp/tmp-3-1659959454178 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

BIN
tmp/tmp-4-1659959473205 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

BIN
tmp/tmp-5-1659959494012 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB

BIN
tmp/tmp-6-1659959536977 Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 KiB