Skip to content

Conversation

@unhighghlow
Copy link
Contributor

The "expires" parameter was ignored, and the cookie was set to delete on session exit, which is really annoying. This PR fixes this.

NOTE: I honestly have no idea how to test this, so I didn't.

The "expires" parameter was ignored, and the cookie was set to delete on session exit, which is really annoying. This commit fixes this.
.cookie("UMBREL_PROXY_TOKEN", proxyToken, {
httpOnly: true,
expires,
maxAge: ONE_WEEK,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants