The Los Angeles city attorney sued Wells Fargo and Citigroup on Thursday, alleging the companies engaged in mortgage discrimination that led to a wave of foreclosures in minority communities during the housing crash.