mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 12:59:06 +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