1
0
mirror of https://github.com/ClusterCockpit/cc-backend synced 2025-04-07 20:55:55 +02:00

fix auth error page

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

@ -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)