mirror of
https://github.com/janishutz/oidclogin.git
synced 2026-10-08 17:26:20 +02:00
feat: improve templates
This commit is contained in:
1 parent
da7dd13e2a
commit
133cbfd86c
4 files changed
+51
-6
No files matched your search
+1
-3
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user