feat: 账号凭据默认脱敏并支持主动查看

This commit is contained in:
yml2213
2026-08-13 16:32:49 +08:00
parent a223cb726d
commit 2e207f726c
3 changed files with 108 additions and 6 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ def list_accounts(
search: str = Query(""),
page: int | None = Query(None, ge=1),
page_size: int = Query(20, ge=1, le=200),
include_sensitive: bool = Query(True),
include_sensitive: bool = Query(False),
db: Session = Depends(get_db),
current: User = Depends(get_current_user),
):