Browse Source

fix s3api auth bug

pull/1402/head
popstk 4 years ago
parent
commit
a09fcfcf20
  1. 2
      weed/s3api/auth_credentials.go

2
weed/s3api/auth_credentials.go

@ -110,7 +110,7 @@ func (iam *IdentityAccessManagement) lookupByAccessKey(accessKey string) (identi
func (iam *IdentityAccessManagement) Auth(f http.HandlerFunc, action Action) http.HandlerFunc { func (iam *IdentityAccessManagement) Auth(f http.HandlerFunc, action Action) http.HandlerFunc {
if iam.isEnabled() {
if !iam.isEnabled() {
return f return f
} }

Loading…
Cancel
Save