One of my biggest complaints about this movie.
So the council and the senate knew they were living together. But it was against the rules of the Jedi to marry and heavens forbid they have a child. But its ok to live together and sleep with each other.
I know this has probably been done to death. But this is one of my biggest grips with this movie.