tmpl: fix 500 on logout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-04-19 03:29:44 +02:00
parent 7bfa6a6da1
commit 33c9b8a30e
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -606,16 +606,12 @@ func Logout() echo.HandlerFunc {
tpl := getTmpl("logout.tmpl")
err := tpl.Execute(c.Response().Writer,
struct {
AppName string
AppVer string
Title string
DevelMode bool
}{
page{
AppName: conf.AppName,
AppVer: appver,
Title: "Logout",
DevelMode: conf.DevelMode,
Current: "logout",
},
)
if err != nil {