forgot to check auth here

This commit is contained in:
Diogo Sousa
2023-10-06 18:22:38 +01:00
parent 65ecfd75aa
commit 59fcce4466

View File

@@ -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(