Disable registration by default

This commit is contained in:
Salt 2020-04-30 07:38:54 -05:00
parent 0ce93e0391
commit bd38470bde

View File

@ -528,7 +528,7 @@ REGISTER_EMAIL_CONFIRM = false
; gitea.io,example.com
EMAIL_DOMAIN_WHITELIST=
; Disallow registration, only allow admins to create accounts.
DISABLE_REGISTRATION = false
DISABLE_REGISTRATION = true
; Allow registration only using third-party services, it works only when DISABLE_REGISTRATION is false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
; User must sign in to view anything.