From 124d0187d60af3ff2e5b1c33dc92e31f7150398c Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Mon, 6 Feb 2023 10:49:56 +0000
Subject: [PATCH] code: only allow external registration

---
 basic/apps/code/gitea-values-configmap.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/basic/apps/code/gitea-values-configmap.yaml b/basic/apps/code/gitea-values-configmap.yaml
index 76d2531..7c0156b 100644
--- a/basic/apps/code/gitea-values-configmap.yaml
+++ b/basic/apps/code/gitea-values-configmap.yaml
@@ -41,6 +41,7 @@ data:
           ENABLE_OPENID_SIGNUP: true
         service:
           DISABLE_REGISTRATION: false
+          ALLOW_ONLY_EXTERNAL_REGISTRATION: true
         log:
           LEVEL: "Trace"
     persistence:
-- 
GitLab