The Armed Forces have re-adopted the policy —only changing it to “Don't ask [the truth], Don't Tell [the truth]!!
Actually, that’s always been the case. It’s nothing new. Everyone thinks those in the military have the same rights as all other US citizens, but that’s not really how it works. The First Amendment, for instance, is greatly restricted. Members of the military who want a long and happy career have to learn to be careful of what they say.