Illegal. If you are fired or discriminated against at work because you are a member of a protected class, you can take legal action against your employer.