mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
forgot to check auth here
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user