mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
pass the current credentials for claims
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user