-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
cookie-session - maxAge property has no effect, at the moment its in an object
Steps to reproduce
Just open chrome inspect elements and see that the cookie expires on session
Actual Outcome
cookie expires on session
Expected Outcome
cookie will expire in 2 weeks
Environment
Dashboard
- Parse Dashboard version:
5.0.0 - Browser (Safari, Chrome, Firefox, Edge, etc.):
Chrome, Firefox (all...) - Browser version: ``
The problem is at Authentication.js row 59, maxAge should be a prop of the configuration object and not nested in cookie :{}
See actual API
https://github.com/expressjs/cookie-session
A feature request for this bug will be to have maxAge property via config
Would love to make a PR...
Metadata
Metadata
Assignees
Labels
No labels