When a dissolution of marriage is granted for the adultery of the husband, the legitimacy of the children of the marriage begotten of the wife before the commencement of the action is not affected.

SOURCE: CC § 144.