mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 18:04:49 -04:00
Don't load the generated config as the default.
It's too confusing.
This commit is contained in:
parent
7c2f8881a9
commit
16b52642e2
29 changed files with 60 additions and 94 deletions
|
@ -85,7 +85,7 @@ class RegistrationConfig(Config):
|
|||
"disable_msisdn_registration", False
|
||||
)
|
||||
|
||||
def default_config(self, generate_secrets=False, **kwargs):
|
||||
def generate_config_section(self, generate_secrets=False, **kwargs):
|
||||
if generate_secrets:
|
||||
registration_shared_secret = 'registration_shared_secret: "%s"' % (
|
||||
random_string_with_symbols(50),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue