Skip to content

Commit

Permalink
Merge pull request #25 from GabrielInTheWorld/cookie-lifetime
Browse files Browse the repository at this point in the history
Increase the lifetime of a cookie
  • Loading branch information
GabrielInTheWorld committed Aug 25, 2020
2 parents 6e15f57 + 2337720 commit d3d4d64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion auth/src/express/middleware/route-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export default class RouteService extends RouteHandler {
}
if (response.locals['newCookie']) {
response.cookie(AuthHandler.COOKIE_NAME, response.locals['newCookie'], {
maxAge: 720000,
secure: false,
httpOnly: true
});
Expand Down

0 comments on commit d3d4d64

Please sign in to comment.