Spaces:
Sleeping
Sleeping
github-actions[bot] commited on
Commit ·
b721542
1
Parent(s): 6a25d7a
Automated deployment from GitHub Actions: de0f9869d47671828605cc7aeb9a01c1c8b8dc5d
Browse files- src/dependencies.py +2 -2
src/dependencies.py
CHANGED
|
@@ -130,12 +130,12 @@ async def get_current_user(
|
|
| 130 |
"""
|
| 131 |
if settings.DISABLE_AUTH:
|
| 132 |
return CurrentUser(
|
| 133 |
-
sub=
|
| 134 |
email="admin@tradeflow.ai",
|
| 135 |
full_name="Demo User",
|
| 136 |
roles=["admin", "operator", "supervisor", "sme"],
|
| 137 |
tier="enterprise",
|
| 138 |
-
company_id=
|
| 139 |
raw_token="demo-token",
|
| 140 |
)
|
| 141 |
|
|
|
|
| 130 |
"""
|
| 131 |
if settings.DISABLE_AUTH:
|
| 132 |
return CurrentUser(
|
| 133 |
+
sub=None, # type: ignore
|
| 134 |
email="admin@tradeflow.ai",
|
| 135 |
full_name="Demo User",
|
| 136 |
roles=["admin", "operator", "supervisor", "sme"],
|
| 137 |
tier="enterprise",
|
| 138 |
+
company_id=None,
|
| 139 |
raw_token="demo-token",
|
| 140 |
)
|
| 141 |
|