This is a normal, natural, healthy phase. Chances are, your son has just discovered he's a boy, so he's latching on to the male role model in his life.
Just be loving and patient, and things will equalize in time.
One slight possibility is that some couples develop this dynamic where the mom is the disciplinarian and the dad is the Disneyland dad. Dad gets all the fun of parenting, and mom does all the heavy lifting. If that rings a bell for you, sit down and have a talk with your husband, or consider couples counseling. It's not fair.
But otherwise, just know it's normal and wait it out. Count yourself lucky that your son has two loving parents, to the point where you're competing for his affection.