mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Allow generate-config to run against an existing config file to generate default keys
This commit is contained in:
parent
50c87b8eed
commit
46a65c282f
3 changed files with 26 additions and 14 deletions
|
@ -49,7 +49,7 @@ class RegistrationConfig(Config):
|
|||
def add_arguments(self, parser):
|
||||
reg_group = parser.add_argument_group("registration")
|
||||
reg_group.add_argument(
|
||||
"--enable-registration", action="store_true",
|
||||
"--enable-registration", action="store_true", default=None,
|
||||
help="Enable registration for new users."
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue