Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

s3api: remove redundant isAuthEnabled assignment in constructor

Chris Lu39c4155ba612
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go
index c21ec94fa4..eb73c3262f 100644
--- a/weed/s3api/auth_credentials.go
+++ b/weed/s3api/auth_credentials.go
@@ -272,9 +272,6 @@ func NewIdentityAccessManagementWithStore(option *S3ApiServerOption, explicitSto
iam.emailAccount[AccountAdmin.EmailAddress] = &AccountAdmin
iam.emailAccount[AccountAnonymous.EmailAddress] = &AccountAnonymous
}
-
- // Enable auth if we have identities
- iam.isAuthEnabled = true
}
iam.m.Unlock()