Spaces:
Running
Running
Merge branch 'main' of https://huggingface.co/spaces/moazx/API
Browse files- api/routers/auth.py +2 -2
api/routers/auth.py
CHANGED
|
@@ -83,8 +83,8 @@ def verify_session(token: Optional[str]) -> Optional[dict]:
|
|
| 83 |
|
| 84 |
def verify_credentials(username: str, password: str) -> bool:
|
| 85 |
"""Verify username and password against environment variables"""
|
| 86 |
-
expected_username =
|
| 87 |
-
expected_password =
|
| 88 |
|
| 89 |
return username == expected_username and password == expected_password
|
| 90 |
|
|
|
|
| 83 |
|
| 84 |
def verify_credentials(username: str, password: str) -> bool:
|
| 85 |
"""Verify username and password against environment variables"""
|
| 86 |
+
expected_username = "volaris"
|
| 87 |
+
expected_password = "volaris123"
|
| 88 |
|
| 89 |
return username == expected_username and password == expected_password
|
| 90 |
|