improvement: registration token now only works when registration is enabled

This commit is contained in:
Timo Kösters 2024-01-24 18:44:00 +01:00
parent 34e0e710cb
commit 1fb5bcf98f
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
5 changed files with 45 additions and 21 deletions

View file

@ -41,7 +41,7 @@ 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
# - Start the line with '#' to remove the condition
registration_token = ""
allow_federation = true