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

Merge pull request #148 from overleaf/em-disable-git-bridge-by-default

Ensure git bridge is disabled by default
This commit is contained in:
Eric Mc Sween 2023-04-13 07:06:13 -04:00 committed by GitHub
commit a16adb156c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

View file

@ -27,7 +27,7 @@ REDIS_DATA_PATH=data/redis
#
# If you enable git bridge, you must also set GIT_BRIDGE_OAUTH2_CLIENT_SECRET
# in variables.env
GIT_BRIDGE_ENABLED=true
GIT_BRIDGE_ENABLED=false
GIT_BRIDGE_DATA_PATH=data/git-bridge
# TLS proxy configuration (optional)