add registration_token in default cfg and DEPLOY #982

Open
lafleurdeboum wants to merge 2 commits from registration-token-in-config into next
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 8ff555d597 - Show all commits

View file

@ -171,6 +171,11 @@ max_request_size = 20_000_000 # in bytes
# Enables registration. If set to false, no users can register on this server.
allow_registration = true
# A static registration token that new users will have to provide when creating
# an account. If unset and `allow_registration` is true, registration is open
# without any condition. YOU NEED TO EDIT THIS
registration_token = "change this token for something specific to your server"
allow_federation = true
allow_check_for_updates = true

View file

@ -38,6 +38,11 @@ max_request_size = 20_000_000 # in bytes
# Enables registration. If set to false, no users can register on this server.
allow_registration = true
# A static registration token that new users will have to provide when creating
# an account. If unset and `allow_registration` is true, registration is open
# without any condition. YOU NEED TO EDIT THIS
registration_token = "change this token for something specific to your server"
allow_federation = true
allow_check_for_updates = true