aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/auth_credentials.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-19 20:23:12 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-19 20:23:12 -0700
commitdc4d2145ffadbee3337fbc3171b9e7fa2016cce0 (patch)
treed37b9c94786819780b1767a217a7d2bbcb1ee353 /weed/s3api/auth_credentials.go
parent29abe980dfbfc34c9bd2d672a85d92619041a4bc (diff)
downloadseaweedfs-dc4d2145ffadbee3337fbc3171b9e7fa2016cce0.tar.xz
seaweedfs-dc4d2145ffadbee3337fbc3171b9e7fa2016cce0.zip
open up
Diffstat (limited to 'weed/s3api/auth_credentials.go')
-rw-r--r--weed/s3api/auth_credentials.go2
1 files changed, 1 insertions, 1 deletions
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