mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-27 03:58:06 +03:00
Disable registration by default
This commit is contained in:
parent
58247c8b4b
commit
58367a9da2
1 changed files with 4 additions and 0 deletions
|
@ -31,3 +31,7 @@ class RegistrationConfig(Config):
|
|||
action='store_true',
|
||||
help="Disable registration of new users."
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def generate_config(cls, args, config_dir_path):
|
||||
args.disable_registration = True
|
||||
|
|
Loading…
Reference in a new issue