mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 06:37:24 +08:00
fix s3api auth bug
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user