|
@@ -472,6 +472,48 @@ limit_remote_rooms:
|
|
|
#
|
|
|
#user_ips_max_age: 14d
|
|
|
|
|
|
+# 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
|
|
|
+
|
|
|
+# A list of domains that the domain portion of 'next_link' parameters
|
|
|
+# must match.
|
|
|
+#
|
|
|
+# This parameter is optionally provided by clients while requesting
|
|
|
+# validation of an email or phone number, and maps to a link that
|
|
|
+# users will be automatically redirected to after validation
|
|
|
+# succeeds. Clients can make use this parameter to aid the validation
|
|
|
+# process.
|
|
|
+#
|
|
|
+# The whitelist is applied whether the homeserver or an
|
|
|
+# identity server is handling validation.
|
|
|
+#
|
|
|
+# The default value is no whitelist functionality; all domains are
|
|
|
+# allowed. Setting this value to an empty list will instead disallow
|
|
|
+# all domains.
|
|
|
+#
|
|
|
+#next_link_domain_whitelist: ["matrix.org"]
|
|
|
+
|
|
|
+# Templates to use when generating email or HTML page contents.
|
|
|
+#
|
|
|
+templates:
|
|
|
+ # Directory in which Synapse will try to find template files to use to generate
|
|
|
+ # email or HTML page contents.
|
|
|
+ # If not set, or a file is not found within the template directory, a default
|
|
|
+ # template from within the Synapse package will be used.
|
|
|
+ #
|
|
|
+ # See https://matrix-org.github.io/synapse/latest/templates.html for more
|
|
|
+ # information about using custom templates.
|
|
|
+ #
|
|
|
+ #custom_template_directory: /path/to/custom/templates/
|
|
|
+
|
|
|
+
|
|
|
# Message retention policy at the server level.
|
|
|
#
|
|
|
# Room admins and mods can define a retention period for their rooms using the
|
|
@@ -541,47 +583,6 @@ retention:
|
|
|
# - shortest_max_lifetime: 3d
|
|
|
# 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
|
|
|
-
|
|
|
-# A list of domains that the domain portion of 'next_link' parameters
|
|
|
-# must match.
|
|
|
-#
|
|
|
-# This parameter is optionally provided by clients while requesting
|
|
|
-# validation of an email or phone number, and maps to a link that
|
|
|
-# users will be automatically redirected to after validation
|
|
|
-# succeeds. Clients can make use this parameter to aid the validation
|
|
|
-# process.
|
|
|
-#
|
|
|
-# The whitelist is applied whether the homeserver or an
|
|
|
-# identity server is handling validation.
|
|
|
-#
|
|
|
-# The default value is no whitelist functionality; all domains are
|
|
|
-# allowed. Setting this value to an empty list will instead disallow
|
|
|
-# all domains.
|
|
|
-#
|
|
|
-#next_link_domain_whitelist: ["matrix.org"]
|
|
|
-
|
|
|
-# Templates to use when generating email or HTML page contents.
|
|
|
-#
|
|
|
-templates:
|
|
|
- # Directory in which Synapse will try to find template files to use to generate
|
|
|
- # email or HTML page contents.
|
|
|
- # If not set, or a file is not found within the template directory, a default
|
|
|
- # template from within the Synapse package will be used.
|
|
|
- #
|
|
|
- # See https://matrix-org.github.io/synapse/latest/templates.html for more
|
|
|
- # information about using custom templates.
|
|
|
- #
|
|
|
- #custom_template_directory: /path/to/custom/templates/
|
|
|
-
|
|
|
|
|
|
## TLS ##
|
|
|
|
|
@@ -2260,34 +2261,6 @@ email:
|
|
|
#email_validation: "[%(server_name)s] Validate your email"
|
|
|
|
|
|
|
|
|
-# Password providers allow homeserver administrators to integrate
|
|
|
-# their Synapse installation with existing authentication methods
|
|
|
-# ex. LDAP, external tokens, etc.
|
|
|
-#
|
|
|
-# For more information and known implementations, please see
|
|
|
-# https://matrix-org.github.io/synapse/latest/password_auth_providers.html
|
|
|
-#
|
|
|
-# Note: instances wishing to use SAML or CAS authentication should
|
|
|
-# instead use the `saml2_config` or `cas_config` options,
|
|
|
-# respectively.
|
|
|
-#
|
|
|
-password_providers:
|
|
|
-# # Example config for an LDAP auth provider
|
|
|
-# - module: "ldap_auth_provider.LdapAuthProvider"
|
|
|
-# config:
|
|
|
-# enabled: true
|
|
|
-# uri: "ldap://ldap.example.com:389"
|
|
|
-# start_tls: true
|
|
|
-# base: "ou=users,dc=example,dc=com"
|
|
|
-# attributes:
|
|
|
-# uid: "cn"
|
|
|
-# mail: "email"
|
|
|
-# name: "givenName"
|
|
|
-# #bind_dn:
|
|
|
-# #bind_password:
|
|
|
-# #filter: "(objectClass=posixAccount)"
|
|
|
-
|
|
|
-
|
|
|
|
|
|
## Push ##
|
|
|
|