From 39c4155ba612efefd76fc17c8bcf974caec3355a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 14 Jan 2026 13:12:49 -0800 Subject: [PATCH] s3api: remove redundant isAuthEnabled assignment in constructor --- weed/s3api/auth_credentials.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go index c21ec94fa..eb73c3262 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()