From ba91d3e2f790144918a08bf5f365fe6b44e76629 Mon Sep 17 00:00:00 2001 From: Timur Ismagilov Date: Fri, 29 Apr 2022 12:21:45 +0300 Subject: [PATCH] Empty hyphae: Fix the message for wikis with auth --- hypview/hypview.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypview/hypview.go b/hypview/hypview.go index 4d1f1ff..5dca40c 100644 --- a/hypview/hypview.go +++ b/hypview/hypview.go @@ -39,6 +39,7 @@ func Init() { } type emptyHyphaData struct { + Meta viewutil.Meta HyphaName string AllowRegistration bool UseAuth bool @@ -47,6 +48,7 @@ type emptyHyphaData struct { func EmptyHypha(meta viewutil.Meta, hyphaName string) string { var buf strings.Builder if err := chainEmptyHypha.Get(meta).ExecuteTemplate(&buf, "empty hypha card", emptyHyphaData{ + Meta: meta, HyphaName: hyphaName, AllowRegistration: cfg.AllowRegistration, UseAuth: cfg.UseAuth,