feat: improve templates

This commit is contained in:
janishutz committed 2026-09-19 17:04:11 +02:00
1 parent da7dd13e2a
commit 133cbfd86c
4 files changed
+51 -6

No files matched your search

+1 -3
View File
@@ -132,9 +132,7 @@ func EnsureLogin(redirectFail bool) func(c *gin.Context) {
c.Abort()
return
} else {
c.HTML(401, "autherror.tmpl", gin.H{
"error": "ERR_AUTH",
})
c.HTML(401, "autherror.tmpl", gin.H{})
c.Abort()
return
}