Add support for disabling Synapse's local database for user auth
This is a new feature of Synapse v1.1.0. Discussed in #145 (Github Pull Request).
This commit is contained in:
@ -147,6 +147,11 @@ matrix_synapse_autocreate_auto_join_rooms: true
|
||||
# Controls password-peppering for Synapse. Not to be changed after initial setup.
|
||||
matrix_synapse_password_config_pepper: ""
|
||||
|
||||
# Controls if Synapse allows people to authenticate against its local database.
|
||||
# It may be useful to disable this if you've configured additional password providers
|
||||
# and only wish authentication to happen through them.
|
||||
matrix_synapse_password_config_localdb_enabled: false
|
||||
|
||||
# Controls the number of events that Synapse caches in memory.
|
||||
matrix_synapse_event_cache_size: "100K"
|
||||
|
||||
|
@ -1099,7 +1099,7 @@ password_config:
|
||||
# database. This is ignored if `enabled` is false, and is only useful
|
||||
# if you have other password_providers.
|
||||
#
|
||||
#localdb_enabled: false
|
||||
localdb_enabled: {{ matrix_synapse_password_config_localdb_enabled|to_json }}
|
||||
|
||||
# Uncomment and change to a secret random string for extra security.
|
||||
# DO NOT CHANGE THIS AFTER INITIAL SETUP!
|
||||
|
Reference in New Issue
Block a user