FEHA is the first law governing employment discrimination in California. It prohibits corporations from firing workers simply because they are a member of a protected course.
Though work is at will in California, https://jmllaw.com/areas-of-practice/employment-law/wrongful-termination.shtml