How to disable login in iframe which is hosted in same domain?

How to disable login in iframe which is hosted in same domain?