From 46a39b0f8d5a05473269555b226387bb6bc58f70 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Mon, 29 Jul 2024 14:50:41 -0500 Subject: [PATCH 1/2] Disallow local DB registrations --- group_vars/gitea.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index 916899f..a188a4c 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -67,7 +67,7 @@ gitea_config: REGISTER_EMAIL_CONFIRM: "false" ENABLE_NOTIFY_MAIL: "false" DISABLE_REGISTRATION: "false" - ALLOW_ONLY_EXTERNAL_REGISTRATION: "false" + ALLOW_ONLY_EXTERNAL_REGISTRATION: "true" ENABLE_CAPTCHA: "false" REQUIRE_SIGNIN_VIEW: "false" DEFAULT_KEEP_EMAIL_PRIVATE: "false" From cc60b3ba0aa6aecc263bac3f410bf5e473a2e294 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Tue, 13 Aug 2024 20:09:07 +0200 Subject: [PATCH 2/2] Add andrewlukoshko keys to ssh_authorized_keys (#30) --- group_vars/all.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/group_vars/all.yml b/group_vars/all.yml index 3dc2044..84d28dc 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -4,6 +4,7 @@ staging: false ssh_authorized_keys: - "https://github.com/codyro.keys" - "https://github.com/jonathanspw.keys" + - "https://github.com/andrewlukoshko.keys" authorized_keys_managed: false # UNUSED whitelist_ips: "{{ lookup( 'community.hashi_vault.hashi_vault', 'kv/data/infra/general-ansible-vars:whitelist_ips',