1
0
mirror of https://github.com/ClusterCockpit/cc-backend synced 2025-04-05 03:35:56 +02:00

login for all Methods

This commit is contained in:
Jan Eitzinger 2023-08-18 14:03:52 +02:00
parent e99d1a1e90
commit c87db1dfe6

@ -376,7 +376,7 @@ func main() {
Status: http.StatusText(http.StatusForbidden),
Error: err.Error(),
})
})).Methods(http.MethodGet)
}))
r.Handle("/logout", authentication.Logout(
http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {