tmpl: fix 500 on logout
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7bfa6a6da1
commit
33c9b8a30e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user