From dc4d2145ffadbee3337fbc3171b9e7fa2016cce0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 19 Sep 2020 20:23:12 -0700 Subject: [PATCH] open up --- weed/s3api/auth_credentials.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go index 2b2e2858d..ecad98f3c 100644 --- a/weed/s3api/auth_credentials.go +++ b/weed/s3api/auth_credentials.go @@ -153,7 +153,7 @@ func (iam *IdentityAccessManagement) authRequest(r *http.Request, action Action) identity, s3Err = iam.reqSignatureV4Verify(r) case authTypePostPolicy: glog.V(3).Infof("post policy auth type") - identity, s3Err = iam.reqSignatureV4Verify(r) + return s3err.ErrNone case authTypeJWT: glog.V(3).Infof("jwt auth type") return s3err.ErrNotImplemented