1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00

Ensure git bridge is disabled by default

The config seed was mistakenly setting the GIT_BRIDGE_ENABLED variable
to true rather than false. We want git bridge to be enabled manually
because users also have to set a secret for it to work correctly.
This commit is contained in:
Eric Mc Sween 2023-04-12 16:08:52 -04:00
parent e93dfe9977
commit d447061e8d
2 changed files with 2 additions and 2 deletions

View file

@ -345,7 +345,7 @@ function check_config_files() {
print_point 2 "SHARELATEX_HISTORY_BACKEND: fs"
fi
if [[ -n ${GIT_BRIDGE_ENABLED:-} ]]; then
if [[ ${GIT_BRIDGE_ENABLED:-false} = true ]]; then
if [[ -n ${GIT_BRIDGE_OAUTH2_CLIENT_SECRET:-} ]]; then
print_point 2 "GIT_BRIDGE_OAUTH2_CLIENT_SECRET: [set here]"
else