In a free society, one must recognize that legality ought loosely follow morality, with the ideal being that illegal actions are the strict subset of immoral actions which cause greater ill than the enforcement of their illegality. In the absence of an oracle into objective good and evil, a society must err on the side of not making things illegal which could potentially either be not worse than the ill of their enforcement, or not be immoral at all.
The all-to-common trap is to confuse the direction of influence: morality should influence legality, never the other way around. Allowing legality to influence one's perception of morality is simply surrendering your autonomy to those who greatest influence the law, and is a sure-fire path to authoritarianism.
Ignoring this allows the term “culture wars” to define our politics - which is precisely the end of a “melting pot” society
A well functioning society necessarily ought not legally forbid things that I consider immoral, which allows for personal autonomy with regards to ethics.
Of course the goal of law writ large is to engender "good" conditions in a society by restricting "bad" elements and encouraging "good" ones. In this sense the law has a moral quality.
Roughly speaking, "law" is morality as practiced by a state. The difference is in the acknowledgment or ignorance of the laws' congruence with the moralities of the citizens' opinions and preferences those laws are meant to represent. One could say the entire goal of democracy is the messy process of aligning the state's morality with the collective morality of its citizens. Fascism is then comparable to defining a single normative moral position and imposing it on the entire populace unilaterally.
In short, the question is: whose morals?