mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
fix auth error page
This commit is contained in:
parent
d8782f4d3b
commit
d65ff549b5
@ -372,7 +372,7 @@ func main() {
|
|||||||
rw.WriteHeader(http.StatusUnauthorized)
|
rw.WriteHeader(http.StatusUnauthorized)
|
||||||
templates.Render(rw, r, "login.tmpl", &templates.Page{
|
templates.Render(rw, r, "login.tmpl", &templates.Page{
|
||||||
Title: "Login failed - ClusterCockpit",
|
Title: "Login failed - ClusterCockpit",
|
||||||
Error: err.Error(),
|
Error: loginErr.Error(),
|
||||||
})
|
})
|
||||||
})).Methods(http.MethodPost)
|
})).Methods(http.MethodPost)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user