Two-Factor Authentication

This project implements a simple two-factor authentication system in Python. It asks users to provide two different forms of identification to authenticate themselves.

Features

  • User authentication using a username and password
  • Generation of a random 6-digit verification code
  • Sending the verification code to the user
  • Validation of the verification code provided by the user

Requirements

  • Python 3.x

Usage

  1. Clone the repository:
  git clone https://github.com/your-username/two-factor-authentication.git
  1. Change into the project directory:
cd two-factor-authentication
  1. Run the application:
python main.py
  1. Follow the prompts to enter your username, password, and verification code.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.