mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
login for all Methods
This commit is contained in:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user