This is a half true story. The real acid (H+) does not come from salt (NaCl or other minerals) but from water H2O and CO2 to form HCO3- before turns to H+. Chloride, yes. So, salt is important for the body as electrolyser but too much of it will do more harm.