From 59fcce4466fcf7322f1e5520a2dcd652f9d12ea0 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Fri, 6 Oct 2023 18:22:38 +0100 Subject: [PATCH] forgot to check auth here --- openbb_platform/platform/core/openbb_core/api/auth/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbb_platform/platform/core/openbb_core/api/auth/user.py b/openbb_platform/platform/core/openbb_core/api/auth/user.py index 9328024650c..dab13cca5a9 100644 --- a/openbb_platform/platform/core/openbb_core/api/auth/user.py +++ b/openbb_platform/platform/core/openbb_core/api/auth/user.py @@ -8,7 +8,7 @@ from openbb_core.app.service.user_service import UserService from openbb_core.env import Env from typing_extensions import Annotated -security = HTTPBasic() +security = HTTPBasic() if Env().API_AUTH else lambda: None async def authenticate_user(