forked from TrueCloudLab/frostfs-s3-gw
Remove aliasing
This commit is contained in:
parent
3870f59484
commit
24b19152c4
4 changed files with 10 additions and 10 deletions
|
@ -4,11 +4,11 @@ import (
|
|||
"net/http"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
s3auth "github.com/minio/minio/auth"
|
||||
"github.com/minio/minio/auth"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
func attachNewUserAuth(router *mux.Router, center *s3auth.Center, log *zap.Logger) {
|
||||
func attachNewUserAuth(router *mux.Router, center *auth.Center, log *zap.Logger) {
|
||||
uamw := func(h http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
_, err := center.AuthenticationPassed(r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue