mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
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
Block a user