fix: require minimum 32 characters for JWT secrets
This commit is contained in:
@@ -757,6 +757,7 @@ CONF_SCHEMA = {
|
|||||||
"description": "Secret key for JWT authentication.",
|
"description": "Secret key for JWT authentication.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "somethingRandomSomethingRandom123",
|
"default": "somethingRandomSomethingRandom123",
|
||||||
|
"minLength": 32,
|
||||||
},
|
},
|
||||||
"CORS_origins": {
|
"CORS_origins": {
|
||||||
"description": "List of allowed CORS origins.",
|
"description": "List of allowed CORS origins.",
|
||||||
|
|||||||
Reference in New Issue
Block a user