1
0
This commit is contained in:
MadLittleMods
2025-07-14 16:39:31 +00:00
parent d642385b2d
commit 72c01e46d4
5 changed files with 60 additions and 2 deletions

View File

@@ -2315,6 +2315,17 @@
"YOUR_PUBLIC_KEY"
]
},
"recaptcha_public_key_path": {
"type": [
"string",
"null"
],
"description": "An alternative to [`recaptcha_public_key`](#recaptcha_public_key): allows the public key to be specified in an external file.\n\nThe file should be a plain text file, containing only the public key. Synapse reads the public key from the given file once at startup.\n\n_Added in Synapse 1.134.0._",
"default": null,
"examples": [
"/path/to/key/file"
]
},
"recaptcha_private_key": {
"type": [
"string",
@@ -2326,6 +2337,17 @@
"YOUR_PRIVATE_KEY"
]
},
"recaptcha_private_key_path": {
"type": [
"string",
"null"
],
"description": "An alternative to [`recaptcha_private_key`](#recaptcha_private_key): allows the private key to be specified in an external file.\n\nThe file should be a plain text file, containing only the private key. Synapse reads the private key from the given file once at startup.\n\n_Added in Synapse 1.134.0._",
"default": null,
"examples": [
"/path/to/key/file"
]
},
"enable_registration_captcha": {
"type": "boolean",
"description": "Set to `true` to require users to complete a CAPTCHA test when registering an account. Requires a valid ReCaptcha public/private key.\n\nNote that [`enable_registration`](#enable_registration) must also be set to allow account registration.",