If it is only changing flights then you need not take a passport for the country but you will be needed to have a transit visa for the same.