-
Notifications
You must be signed in to change notification settings - Fork 117
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
chore: add cookie secret env var #755
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
if (_userSettings && _userSettings.cookieSecret) { | ||
_cookieSecret = _userSettings.cookieSecret; | ||
if (!_cookieSecret) { | ||
throw new Error('COOKIE_SECRET is not defined in the environment variables.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't this never trigger because of the fallback to 'cookie secret'
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah sorry about that, I need to correct it.
src/plugin.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any non-whitespace changes in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess no.
@rgmz |
@Aditya-PS-05 - it looks like you have a prettier or linter that doesn't align with the standard of the project? Are you able to revert non-related changes so the PR includes changes only relevant to your suggested improvement? Massively appreciate your PR and effort ❤️ |
closes #690