Merge SEC-01: require password for TOTP enrollment

This commit is contained in:
2026-03-13 01:07:39 -07:00
13 changed files with 192 additions and 17 deletions

View File

@@ -435,6 +435,17 @@ paths:
tags: [Auth]
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required: [password]
properties:
password:
type: string
description: Current account password (required to prevent session-theft escalation).
responses:
"200":
description: TOTP secret generated.