summary refs log tree commit diff
path: root/docs/sample_config.yaml
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-04-23 10:38:57 +0200
committerGitHub <noreply@github.com>2020-04-23 10:38:57 +0200
commit6f4319368b3afab661c55367b9348f9b77bc04a5 (patch)
tree5e009c19cceb24b38471762ecc63520ab154decd /docs/sample_config.yaml
parentImprove example TURN configuration in documentation (#7284) (diff)
parentConfig option to inhibit 3PID errors on /requestToken (diff)
downloadsynapse-6f4319368b3afab661c55367b9348f9b77bc04a5.tar.xz
Merge pull request #7315 from matrix-org/babolivier/request_token
Config option to inhibit 3PID errors on /requestToken
Diffstat (limited to 'docs/sample_config.yaml')
-rw-r--r--docs/sample_config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 2ff0dd05a2..abe03b2267 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -409,6 +409,16 @@ retention:
   #    longest_max_lifetime: 1y
   #    interval: 1d
 
+# Inhibits the /requestToken endpoints from returning an error that might leak
+# information about whether an e-mail address is in use or not on this
+# homeserver.
+# Note that for some endpoints the error situation is the e-mail already being
+# used, and for others the error is entering the e-mail being unused.
+# If this option is enabled, instead of returning an error, these endpoints will
+# act as if no error happened and return a fake session ID ('sid') to clients.
+#
+#request_token_inhibit_3pid_errors: true
+
 
 ## TLS ##