fix auth error page

This commit is contained in:
Lou Knauer 2022-02-15 12:39:16 +01:00
parent d8782f4d3b
commit d65ff549b5

View File

@ -372,7 +372,7 @@ func main() {
rw.WriteHeader(http.StatusUnauthorized)
templates.Render(rw, r, "login.tmpl", &templates.Page{
Title: "Login failed - ClusterCockpit",
Error: err.Error(),
Error: loginErr.Error(),
})
})).Methods(http.MethodPost)