mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59:06 +01:00
Fix schema and tests
This commit is contained in:
parent
87ce4f63d4
commit
c7a04328d9
@ -42,9 +42,9 @@
|
|||||||
],
|
],
|
||||||
"jwts": {
|
"jwts": {
|
||||||
"cookieName": "",
|
"cookieName": "",
|
||||||
"forceJWTValidationViaDatabase": false,
|
"validateUser": false,
|
||||||
"max-age": 0,
|
"max-age": 0,
|
||||||
"trustedExternalIssuer": ""
|
"trustedIssuer": ""
|
||||||
},
|
},
|
||||||
"short-running-jobs-duration": 300
|
"short-running-jobs-duration": 300
|
||||||
}
|
}
|
||||||
|
@ -107,10 +107,6 @@
|
|||||||
"description": "Specifies for how long a session shall be valid as a string parsable by time.ParseDuration(). If 0 or empty, the session/token does not expire!",
|
"description": "Specifies for how long a session shall be valid as a string parsable by time.ParseDuration(). If 0 or empty, the session/token does not expire!",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"jwt-max-age": {
|
|
||||||
"description": "Specifies for how long a JWT token shall be valid as a string parsable by time.ParseDuration(). If 0 or empty, the session/token does not expire!",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"https-cert-file": {
|
"https-cert-file": {
|
||||||
"description": "Filepath to SSL certificate. If also https-key-file is set use HTTPS using those certificates.",
|
"description": "Filepath to SSL certificate. If also https-key-file is set use HTTPS using those certificates.",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -166,6 +162,10 @@
|
|||||||
"sync_del_old_users": {
|
"sync_del_old_users": {
|
||||||
"description": "Delete obsolete users in database.",
|
"description": "Delete obsolete users in database.",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"syncUserOnLogin": {
|
||||||
|
"description": "Add non-existent user to DB at login attempt if user exists in Ldap directory",
|
||||||
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
Loading…
Reference in New Issue
Block a user