remove cookie path temporary

This commit is contained in:
Maidul Islam
2022-12-13 18:54:45 -05:00
parent 5db60c0dad
commit c33b043f5f
+1 -1
View File
@@ -147,7 +147,7 @@ export const logout = async (req: Request, res: Response) => {
// clear httpOnly cookie // clear httpOnly cookie
res.cookie('jid', '', { res.cookie('jid', '', {
httpOnly: true, httpOnly: true,
path: '/token', path: '/',
sameSite: 'strict', sameSite: 'strict',
secure: NODE_ENV === 'production' ? true : false secure: NODE_ENV === 'production' ? true : false
}); });