aboutsummaryrefslogtreecommitdiffstats
path: root/manager/settings.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-10 18:40:12 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-10 18:40:22 +0100
commit0d3883fc76751d70871743e3eeb3d83cfe458e39 (patch)
tree21b2f9cffd3270615460cf4501da124a78537a72 /manager/settings.py
parentget version, commit_id and branch only at startup (diff)
downloadscout-subs-0d3883fc76751d70871743e3eeb3d83cfe458e39.tar.gz
scout-subs-0d3883fc76751d70871743e3eeb3d83cfe458e39.zip
add option to disable oauth
Diffstat (limited to 'manager/settings.py')
-rw-r--r--manager/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/manager/settings.py b/manager/settings.py
index 7649631..3432ae0 100644
--- a/manager/settings.py
+++ b/manager/settings.py
@@ -52,6 +52,8 @@ with open("version.txt", 'r') as f:
BRANCH = check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]).decode()
COMMIT_ID = check_output(["git", "rev-parse", "HEAD"]).decode()
+OAUTH_ENABLED = True
+
# Application definition
INSTALLED_APPS = [