Tht is the greatness of the religion ..
It teaches us god is one .. and we can pray any god .. Hinduism never stops us from doing anything ...
If a religion stop u from doing anything .. than tht religion is wrong .. It need to be modified so tht those things r removed from tht religion ..
If a religion ousted u for any following any particular thing than its better to leave such a religion .. It will cause pain to u and whole society .. cos tht religion is not preaching correct things ...
If a religion is a true religion than it should never ousted anyone from itself ...