mirror of https://github.com/minio/minio.git
pass the current credentials for claims
This commit is contained in:
parent
77b8885a24
commit
ce28e904c9
|
@ -136,7 +136,7 @@ func checkKeyValid(r *http.Request, accessKey string) (auth.Credentials, bool, A
|
|||
if !ok {
|
||||
return cred, false, ErrInvalidAccessKeyID
|
||||
}
|
||||
claims, s3Err := checkClaimsFromToken(r, cred)
|
||||
claims, s3Err := checkClaimsFromToken(r, ucred)
|
||||
if s3Err != ErrNone {
|
||||
return cred, false, s3Err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue