mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add session secret as env varx
This commit is contained in:
parent
94c14e0576
commit
07ed8854aa
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ module.exports =
|
||||||
# If provided, a sessionSecret is used to sign cookies so that they cannot be
|
# If provided, a sessionSecret is used to sign cookies so that they cannot be
|
||||||
# spoofed. This is recommended.
|
# spoofed. This is recommended.
|
||||||
security:
|
security:
|
||||||
sessionSecret: "CRYPTO_RANDOM" # This was randomly generated for you
|
sessionSecret: process.env["SHARELATEX_SESSION_SECRET"] or "CRYPTO_RANDOM" # This was randomly generated for you
|
||||||
|
|
||||||
# These credentials are used for authenticating api requests
|
# These credentials are used for authenticating api requests
|
||||||
# between services that may need to go over public channels
|
# between services that may need to go over public channels
|
||||||
|
|
Loading…
Reference in a new issue