Added config.json sessionSameSite schema info.

Ylian Saint-Hilaire committed Oct 7, 2021 at 19:27 UTC 5bd87f602aaa1fd09fba3b87a2a6acca869d1f5e
1 file changed +1 -1
meshcentral-config-schema.json
+1 -1
@@ -61,7 +61,7 @@
61 "certificatePrivateKeyPassword": { "type": "array", "default": null, "description": "List of passwords used to decrypt PKCK#8 .key files that are in the meshcentral-data folder." },
62 "sessionTime": { "type": "integer", "default": 60, "description": "Duration of a session cookie in minutes. Changing this affects how often the session needs to be automatically refreshed." },
63 "sessionKey": { "type": "string", "default": null, "description": "Password used to encrypt the MeshCentral web session cookies. If null, a random one is generated each time the server starts." },
64 - "sessionSameSite": { "type": "string" },
64 + "sessionSameSite": { "type": "string", "default": "strict", "enum": ["strict", "lax", "none"] },
65 "dbEncryptKey": { "type": "string" },
66 "dbRecordsEncryptKey": { "type": "string", "default": null },
67 "dbRecordsDecryptKey": { "type": "string", "default": null },