Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the secret parameter actually do? #396

Closed
b1ek opened this issue May 20, 2023 · 1 comment
Closed

What does the secret parameter actually do? #396

b1ek opened this issue May 20, 2023 · 1 comment

Comments

@b1ek
Copy link

b1ek commented May 20, 2023

I read the source and it seems to be ignored and no kind of encryption is being applied anywhere.

If its a no-op property, shouldn't it be removed from the readme?

@wavded
Copy link
Collaborator

wavded commented May 20, 2023

The secret parameter is required for any session store used in Express. So we include it in our examples. See their documentation for the specifics on what it does:

https://github.com/expressjs/session#secret

@wavded wavded closed this as completed May 20, 2023
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

No branches or pull requests

2 participants