mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-05 12:44:27 -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
|
@ -214,7 +214,7 @@ class EmailConfig(Config):
|
|||
if not os.path.isfile(p):
|
||||
raise ConfigError("Unable to find email template file %s" % (p,))
|
||||
|
||||
def default_config(self, config_dir_path, server_name, **kwargs):
|
||||
def generate_config_section(self, config_dir_path, server_name, **kwargs):
|
||||
return """
|
||||
# Enable sending emails for password resets, notification events or
|
||||
# account expiry notices
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue