Fix auth dependency

This commit is contained in:
2025-05-11 11:18:51 +02:00
parent 388200fd52
commit 3dfd03688b
4 changed files with 23 additions and 8 deletions

View File

@ -19,7 +19,7 @@ LOG = logging.getLogger(__name__)
def create_router(dependencies: AdminDependencies) -> APIRouter:
"""Create secrets router."""
app = APIRouter()
app = APIRouter(dependencies=[Depends(dependencies.get_current_active_user)])
@app.get("/secrets/")
async def get_secret_names(