To disable 2FA enabled for all users go to: Settings → System Parameters → Security, in Multi-factor authentication, uncheck the “Force multi-factor authentication for all users” flag.