diff --git a/server.go b/server.go index 4211e1a..8c7cd0d 100644 --- a/server.go +++ b/server.go @@ -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)