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