Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for configBytes (0.12 sec)

  1. cmd/admin-handlers-users.go

    		return
    	}
    
    	password := cred.SecretKey
    	configBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    		adminLogIf(ctx, err)
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), r.URL)
    		return
    	}
    
    	var ureq madmin.AddOrUpdateUserReq
    	if err = json.Unmarshal(configBytes, &ureq); err != nil {
    		adminLogIf(ctx, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top