We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d0dc2 commit 1fbfd57Copy full SHA for 1fbfd57
konf/site.yaml
@@ -149,3 +149,6 @@ demo:
149
secretKeyRef:
150
key: google-private-key-id
151
name: cs-canonical-com
152
+
153
+ - name: FLASK_DEBUG
154
+ value: "1"
webapp/sso.py
@@ -7,7 +7,9 @@
7
from webapp.models import User
8
9
SSO_LOGIN_URL = "https://login.ubuntu.com"
10
-SSO_TEAM = "canonical-webmonkeys"
+SSO_TEAM = (
11
+ "canonical-webmonkeys" if os.environ.get("FLASK_DEBUG") else "canonical"
12
+)
13
DISABLE_SSO = os.environ.get("DISABLE_SSO")
14
15
0 commit comments