This is a demo created for final project at BISSIT. It eneables creating an account and loging in, which is secured with a six digit security code sent to the accounts email address.
Change email_sender to your email adress and put file config with apppassword to this email into the same directory as 2FADemo.py.
Change directory in terminal to directory with 2FADemo.py and run one of these commands.
python 2FADemo.py
python3 2FADemo.py