From f1541368e5402930540d05e33d8bab8081757037 Mon Sep 17 00:00:00 2001 From: hitian <1998767+hitian@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:22:52 +0800 Subject: [PATCH] Fix auth page GitlabName Error (#242) `FTL error="template: auth_form.html:71:65: executing \"auth_form.html\" at <.c.GitLabName>: can't evaluate field GitLabName in type interface {}"` --- templates/pages/auth_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/pages/auth_form.html b/templates/pages/auth_form.html index c808714..cbcc57f 100644 --- a/templates/pages/auth_form.html +++ b/templates/pages/auth_form.html @@ -68,7 +68,7 @@ {{ end }} {{ if .gitlabOauth }} - {{ .locale.Tr "auth.oauth" .c.GitLabName}} + {{ .locale.Tr "auth.oauth" .c.GitlabName}} {{ end }} {{ if .giteaOauth }}