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:
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user