mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Fix --enable-registration flag to work if you don't give a value
This commit is contained in:
parent
a2a93a4fa7
commit
0775c62469
2 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ class RegistrationConfig(Config):
|
|||
|
||||
reg_group.add_argument(
|
||||
"--enable-registration",
|
||||
const=False,
|
||||
const=True,
|
||||
default=False,
|
||||
nargs='?',
|
||||
help="Enable registration for new users.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue