There are very few laws (employment, privacy, whatever) governing what employers may or may not discipline their employees for. Unless your employer disciplined you specifically and directly because of something like your race, gender, age (only if you're over 40), religion and/or disability, your employer has not broken any laws.