Snow Leopard to El Capitan upgrade
I have several apple devices at home (Apple TV, MacBook, iPhones, Mac mini etc ...) I would like to upgrade my Mac mini's OS X from snow leopard to El Capitan. My Apple ID has two factor authentication and my password does not work to sign in from snow leopard to download the os x, additionally I cannot disable the two factor authentication. I am in a loop . I appreciate it very much, if you can tell me how I can download the El Capitan or disable two factor authentication. PS I tried to access appleid and security section but It does not allow me to turn it off.
thanks
K