|
@@ -3,7 +3,7 @@ Path = require('path')
|
|
|
# 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
|
|
|
httpAuthUser = "sharelatex"
|
|
httpAuthUser = "sharelatex"
|
|
|
-httpAuthPass = "CRYPTO_RANDOM" # Randomly generated for you
|
|
|
|
|
|
|
+httpAuthPass = process.env["WEB_API_PASSWORD"]
|
|
|
httpAuthUsers = {}
|
|
httpAuthUsers = {}
|
|
|
httpAuthUsers[httpAuthUser] = httpAuthPass
|
|
httpAuthUsers[httpAuthUser] = httpAuthPass
|
|
|
|
|
|
|
@@ -162,7 +162,7 @@ settings =
|
|
|
# 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: process.env["SHARELATEX_SESSION_SECRET"] or "CRYPTO_RANDOM" # This was randomly generated for you
|
|
|
|
|
|
|
+ sessionSecret: process.env["SHARELATEX_SESSION_SECRET"] or process.env["CRYPTO_RANDOM"]
|
|
|
|
|
|
|
|
# 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
|