mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
Fix build failure in web-handlers.go
This commit is contained in:
parent
d16a409943
commit
97be455f63
@ -879,7 +879,7 @@ func (web *webAPIHandlers) SetAuth(r *http.Request, args *SetAuthArgs, reply *Se
|
||||
|
||||
err = globalIAMSys.SetUserSecretKey(creds.AccessKey, creds.SecretKey)
|
||||
if err != nil {
|
||||
return toJSONError(err)
|
||||
return toJSONError(ctx, err)
|
||||
}
|
||||
|
||||
reply.Token, err = authenticateWeb(creds.AccessKey, creds.SecretKey)
|
||||
|
Loading…
Reference in New Issue
Block a user