From 1b4b349385a0e648aeacc685b53544fcdb2c5bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Mon, 8 Jul 2024 13:47:35 +0200 Subject: [PATCH] Fix external OIDC providers not showing on login page --- server/auth/assets/templates/login.html.tpl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/auth/assets/templates/login.html.tpl b/server/auth/assets/templates/login.html.tpl index c3c249c5e..1999e9406 100644 --- a/server/auth/assets/templates/login.html.tpl +++ b/server/auth/assets/templates/login.html.tpl @@ -109,14 +109,14 @@ {{ end }} - {{ if and .settings.ExternalEnabled .providers}} + {{ if .settings.ExternalEnabled }}
- {{ range .providers }} - - - {{ tr "login.template.links.external.login-with" "idp" (coalesce .Label .Handle) }} - - {{ end }} + {{ range .providers }} + + + {{ tr "login.template.links.external.login-with" "idp" (coalesce .Label .Handle) }} + + {{ end }}
{{ end }}