mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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)
|
err = globalIAMSys.SetUserSecretKey(creds.AccessKey, creds.SecretKey)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return toJSONError(err)
|
return toJSONError(ctx, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
reply.Token, err = authenticateWeb(creds.AccessKey, creds.SecretKey)
|
reply.Token, err = authenticateWeb(creds.AccessKey, creds.SecretKey)
|
||||||
|
Loading…
Reference in New Issue
Block a user