mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
matrixsynapse: Disable public registration by default
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
025cf4dd2c
commit
f5158c6186
@ -57,7 +57,7 @@ def subcommand_post_install(_):
|
|||||||
config = round_trip_load(config_file)
|
config = round_trip_load(config_file)
|
||||||
|
|
||||||
config['max_upload_size'] = '100M'
|
config['max_upload_size'] = '100M'
|
||||||
config['enable_registration'] = True
|
|
||||||
for listener in config['listeners']:
|
for listener in config['listeners']:
|
||||||
if listener['port'] == 8448:
|
if listener['port'] == 8448:
|
||||||
listener['bind_address'] = '0.0.0.0'
|
listener['bind_address'] = '0.0.0.0'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user