mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add support for encrypted second password hashes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"parentPassword": {
|
||||
"$ref": "#/definitions/ParentPassword"
|
||||
"$ref": "#/definitions/PlaintextParentPassword"
|
||||
},
|
||||
"parentDevice": {
|
||||
"$ref": "#/definitions/NewDeviceInfo"
|
||||
@@ -30,7 +30,7 @@
|
||||
"timeZone"
|
||||
],
|
||||
"definitions": {
|
||||
"ParentPassword": {
|
||||
"PlaintextParentPassword": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hash": {
|
||||
@@ -49,7 +49,7 @@
|
||||
"secondHash",
|
||||
"secondSalt"
|
||||
],
|
||||
"title": "ParentPassword"
|
||||
"title": "PlaintextParentPassword"
|
||||
},
|
||||
"NewDeviceInfo": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user