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"
|
||||
},
|
||||
"password": {
|
||||
"$ref": "#/definitions/ParentPassword"
|
||||
"$ref": "#/definitions/PlaintextParentPassword"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@@ -14,7 +14,7 @@
|
||||
"password"
|
||||
],
|
||||
"definitions": {
|
||||
"ParentPassword": {
|
||||
"PlaintextParentPassword": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hash": {
|
||||
@@ -33,7 +33,7 @@
|
||||
"secondHash",
|
||||
"secondSalt"
|
||||
],
|
||||
"title": "ParentPassword"
|
||||
"title": "PlaintextParentPassword"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
|
||||
Reference in New Issue
Block a user