mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 21:09:25 -05:00
Fix --enable-registration flag to work if you don't give a value
This commit is contained in:
parent
a2a93a4fa7
commit
0775c62469
@ -40,7 +40,7 @@ class RegistrationConfig(Config):
|
|||||||
|
|
||||||
reg_group.add_argument(
|
reg_group.add_argument(
|
||||||
"--enable-registration",
|
"--enable-registration",
|
||||||
const=False,
|
const=True,
|
||||||
default=False,
|
default=False,
|
||||||
nargs='?',
|
nargs='?',
|
||||||
help="Enable registration for new users.",
|
help="Enable registration for new users.",
|
||||||
|
Loading…
Reference in New Issue
Block a user