fix s3api auth bug

This commit is contained in:
popstk 2020-07-25 17:14:49 +08:00
parent feb52400be
commit a09fcfcf20

View file

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