mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Fix build failure in web-handlers.go
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user