Chris Addis commited on
Commit ·
46c08d9
1
Parent(s): a7237c9
OAuth
Browse files
app.py
CHANGED
|
@@ -161,7 +161,7 @@ def create_demo():
|
|
| 161 |
if profile is None:
|
| 162 |
return True
|
| 163 |
|
| 164 |
-
is_authorized
|
| 165 |
return is_authorized
|
| 166 |
|
| 167 |
#new bit with authroisation
|
|
|
|
| 161 |
if profile is None:
|
| 162 |
return True
|
| 163 |
|
| 164 |
+
is_authorized = profile.username not in AUTHORIZED_USER_IDS
|
| 165 |
return is_authorized
|
| 166 |
|
| 167 |
#new bit with authroisation
|