Retailer Dillard’s, Inc. agreed to pay $2 million to settle class claims that it illegally required employees to provide specific medical information to go on sick leave and limited the maximum amount of time available for medical leave, the Equal Employment Opportunity Commission announced Tuesday.

Corina Scott, a former employee at the company’s El Centro, Calif. store, alleged that she was fired when she refused to comply with a policy requiring she provide information on a medical diagnosis or treatment plan when she took a four-day sick leave. According to the EEOC, which filed suit in 2008 in the U.S. District Court for the Southern District of California on behalf of Scott and all other affected Dillard’s employees, the policies went into effect in 2005 and violate the Americans With Disabilities Act.