From 12f7cf21265d7d6c9d1d60e2ae63753846a58c4b Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Thu, 26 Jan 2023 22:25:50 +0100 Subject: Wrap template data to always pass the User --- templates/login.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/login.html') diff --git a/templates/login.html b/templates/login.html index 5e717c3..037879d 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,8 +1,8 @@ {{define "title"}}Connexion{{end}} {{define "content"}}

Connexion

-{{if .Error}} -

{{.Error}}

+{{if .Data.Error}} +

{{.Data.Error}}

{{end}}


-- cgit v1.2.3