add registration_token in default cfg and README

This commit is contained in:
lafleur 2023-10-26 16:51:54 +08:00 committed by Timo Kösters
parent bdae9ceccf
commit 34e0e710cb
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB

View file

@ -38,6 +38,12 @@ max_request_size = 20_000_000 # in bytes
# Enables registration. If set to false, no users can register on this server. # Enables registration. If set to false, no users can register on this server.
allow_registration = true allow_registration = true
# A static registration token that new users will have to provide when creating
# an account. YOU NEED TO EDIT THIS.
# - Insert a password that users will have to enter on registration
# - Comment out the line to remove the condition
registration_token = ""
allow_federation = true allow_federation = true
allow_check_for_updates = true allow_check_for_updates = true