diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-04-23 11:23:53 +0200 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-04-23 11:23:53 +0200 |
commit | 2e3b9a0fcb81b539e155004ded8017ee9923eecc (patch) | |
tree | 89e50fed5deacacf5801c13c69d8da4f34191358 /docs | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-2e3b9a0fcb81b539e155004ded8017ee9923eecc.tar.xz |
Revert "Revert "Merge pull request #7315 from matrix-org/babolivier/request_token""
This reverts commit 1adf6a55870aa08de272591ff49db9dc49738076.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sample_config.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index ca8accbc6e..6d5f4f316d 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -414,6 +414,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 ## |