Many companies will ask you to sign a statement stating that you are both in a relationship by your own consent so it doesn't turn into a stupid sexual harassment lawsuit if the whole thing goes to hell.
But they can't fire you because of who you're dating.