when I make a new login, I get a cookie with expiry being 14 days from now
Actual Behavior
I get a cookie with expiry time 14 days after this process has been started. Which could be in the past if the thing has been runing for 2 weeks already.
Possible Solution
The problem is in helpers/cookie.ts which stores static cookies options object with the expiry date set once at start
Steps to reproduce
No response
What version of vendure integration are you using?
1.1.0
What version of Node.js are you using?
18
What browser (and version) are you using?
chrome
What operating system (and version) are you using?
linux
Relevant log output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Expected Behavior
when I make a new login, I get a cookie with expiry being 14 days from now
Actual Behavior
I get a cookie with expiry time 14 days after this process has been started. Which could be in the past if the thing has been runing for 2 weeks already.
Possible Solution
The problem is in
helpers/cookie.ts
which stores static cookies options object with the expiry date set once at startSteps to reproduce
No response
What version of vendure integration are you using?
1.1.0
What version of Node.js are you using?
18
What browser (and version) are you using?
chrome
What operating system (and version) are you using?
linux
Relevant log output
No response
Code of Conduct