M4-T06: add TOTP second factor to login (totp_code + recovery codes)

This commit is contained in:
2026-06-21 22:08:55 +02:00
parent ee3031013e
commit 81bd32f613
8 changed files with 613 additions and 2 deletions
+11
View File
@@ -1347,6 +1347,17 @@
"password": {
"type": "string",
"title": "Password"
},
"totp_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Totp Code"
}
},
"type": "object",
+5
View File
@@ -977,6 +977,11 @@ components:
password:
type: string
title: Password
totp_code:
anyOf:
- type: string
- type: 'null'
title: Totp Code
type: object
required:
- username