MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / update_admin_password

Function update_admin_password

src/api/admin.py:1574–1579  ·  view source on GitHub ↗

Update admin password

(
    request: ChangePasswordRequest,
    token: str = Depends(verify_admin_token)
)

Source from the content-addressed store, hash-verified

1572
1573@router.post("/api/admin/password")
1574async def update_admin_password(
1575 request: ChangePasswordRequest,
1576 token: str = Depends(verify_admin_token)
1577):
1578 """Update admin password"""
1579 return await change_password(request, token)
1580
1581
1582@router.post("/api/admin/apikey")

Callers

nothing calls this directly

Calls 1

change_passwordFunction · 0.85

Tested by

no test coverage detected