Skip to content

Commit

Permalink
Merge pull request #55 from Shaurya0108/feat/cookie-settings
Browse files Browse the repository at this point in the history
delete secure=true
  • Loading branch information
xavierlmendez authored Nov 10, 2023
2 parents fc8716f + 996a6ec commit 281279c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Server/src/routes/authroutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ export const authroutes = () => {
return res
.cookie("accessToken", accessToken, {
httpOnly: true,
sameSite: 'none',
secure: true
sameSite: 'none'
})
.cookie("UserId", result, {
httpOnly: true,
sameSite: 'none',
secure: true
sameSite: 'none'
})
.status(200)
.json({message: "Logged In"});
Expand Down

0 comments on commit 281279c

Please sign in to comment.