summaryrefslogtreecommitdiffstats
path: root/openbb_platform/core/openbb_core/api/auth/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'openbb_platform/core/openbb_core/api/auth/user.py')
-rw-r--r--openbb_platform/core/openbb_core/api/auth/user.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbb_platform/core/openbb_core/api/auth/user.py b/openbb_platform/core/openbb_core/api/auth/user.py
index dab13cca5a9..c61aa5303cf 100644
--- a/openbb_platform/core/openbb_core/api/auth/user.py
+++ b/openbb_platform/core/openbb_core/api/auth/user.py
@@ -1,3 +1,5 @@
+"""User authentication."""
+
import secrets
from typing import Optional
@@ -15,7 +17,6 @@ async def authenticate_user(
credentials: Annotated[Optional[HTTPBasicCredentials], Depends(security)]
):
"""Authenticate the user."""
-
if credentials:
username = Env().API_USERNAME
password = Env().API_PASSWORD