diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-09-19 20:14:19 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-09-19 20:14:19 -0700 |
| commit | 29abe980dfbfc34c9bd2d672a85d92619041a4bc (patch) | |
| tree | 156590b9909b352d94c90ce6f1196b79818d5355 /weed/s3api/auth_credentials.go | |
| parent | 41d508edfdb715a8509881ba476293758a88ab1e (diff) | |
| download | seaweedfs-29abe980dfbfc34c9bd2d672a85d92619041a4bc.tar.xz seaweedfs-29abe980dfbfc34c9bd2d672a85d92619041a4bc.zip | |
s3: add support for PostPolicy
fix https://github.com/chrislusf/seaweedfs/issues/1426
Diffstat (limited to 'weed/s3api/auth_credentials.go')
| -rw-r--r-- | weed/s3api/auth_credentials.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.go index bdd7f1f43..2b2e2858d 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") - return s3err.ErrNotImplemented + identity, s3Err = iam.reqSignatureV4Verify(r) case authTypeJWT: glog.V(3).Infof("jwt auth type") return s3err.ErrNotImplemented |
