It is ridiculous, but also true. It's not that there was a law prohibiting women from signing a mortgage, but there was no law prohibiting banks from discriminating against women - which they did by discounting their income or requiring a male co-signer.