That's such a lame excuse for how this happened. The major role that the legislators played was not implementing oversight mechanisms, not the non-discrimination policies.
Giving out loans to people for houses appraised at 8 times their annual salary has nothing to do with the non-discrimination policies. Not requiring proof of income when loans are made has nothing to do with it either.
Why would a company make such outrageous loans? How could they possibly expect people to pay them? Because housing values kept going up, and they saw no end in sight (or didn't want to look that far ahead). If housing values kept going up, then people got free equity and could refinance their mortgages if they needed to. But low and behold, the prices stagnated and people with these loans were asked to make payments higher than the value of their homes.
And since these greedy mortgage lenders decided they could make more loans by not requiring down payments, the home owner had nothing invested in the houses. So what do you do when you have nothing invested in a piece of property whose value is falling and the cost is extremely too high? You mail the keys back to the bank and say, "Here, it's yours. Have fun." And then the banks have to eat the outrageous risk they took.
If these lenders are going to act like banks, they should be regulated like them.