From fa273c1f0416fbdfb44d6d0de2076fc559c26d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Fra=C3=9F?= Date: Tue, 9 Jul 2024 12:35:40 +0200 Subject: [PATCH] [fix] role:gitea --- roles/gitea/templates/config.ini.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/gitea/templates/config.ini.j2 b/roles/gitea/templates/config.ini.j2 index 4f2a696..b588bbc 100644 --- a/roles/gitea/templates/config.ini.j2 +++ b/roles/gitea/templates/config.ini.j2 @@ -83,13 +83,13 @@ SHOW_REGISTRATION_BUTTON = false AUTO_WATCH_NEW_REPOS = false AUTO_WATCH_ON_CHANGES = false -{% if var_gitea_authentication == 'internal' %} +{% if var_gitea_authentication_kind == 'internal' %} [openid] ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNUP = false {% endif %} -{% if var_gitea_authentication == 'authelia' %} +{% if var_gitea_authentication_kind == 'authelia' %} [openid] ENABLE_OPENID_SIGNIN = false ENABLE_OPENID_SIGNUP = true