diff --git a/roles/gitea/templates/app.ini b/roles/gitea/templates/app.ini index c4f4e64..973b6a4 100644 --- a/roles/gitea/templates/app.ini +++ b/roles/gitea/templates/app.ini @@ -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.