mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 22:04:56 -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
|
@ -28,7 +28,7 @@ class PasswordConfig(Config):
|
|||
self.password_enabled = password_config.get("enabled", True)
|
||||
self.password_pepper = password_config.get("pepper", "")
|
||||
|
||||
def default_config(self, config_dir_path, server_name, **kwargs):
|
||||
def generate_config_section(self, config_dir_path, server_name, **kwargs):
|
||||
return """\
|
||||
password_config:
|
||||
# Uncomment to disable password login
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue