Skip to content

Add session data to env vars#789

Merged
SISheogorath merged 1 commit intohackmdio:masterfrom
SISheogorath:fix/sessionSecretEnv
Mar 29, 2018
Merged

Add session data to env vars#789
SISheogorath merged 1 commit intohackmdio:masterfrom
SISheogorath:fix/sessionSecretEnv

Conversation

@SISheogorath
Copy link
Copy Markdown
Contributor

Currently the session secret can only be set by config.json or docker
secrets. This creates a problem on Heroku hosted instances that can not
set a session secret.

Since we automatically generate them on startup this results in an
logout of all users on every config change in Heroku.

@SISheogorath SISheogorath added the bug Something isn't working label Mar 28, 2018
@SISheogorath SISheogorath added this to the 1.1.0-CE Release milestone Mar 28, 2018
Currently the session secret can only be set by config.json or docker
secrets. This creates a problem on Heroku hosted instances that can not
set a session secret.

Since we automatically generate them on startup this results in an
logout of all users on every config change in Heroku.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
@SISheogorath SISheogorath merged commit a9a0577 into hackmdio:master Mar 29, 2018
@SISheogorath SISheogorath deleted the fix/sessionSecretEnv branch March 29, 2018 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant