From bd38470bde39a90237f58806e99f99b74502b30c Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 30 Apr 2020 07:38:54 -0500 Subject: [PATCH] Disable registration by default --- roles/gitea/templates/app.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.