Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.32 KB

README.md

File metadata and controls

12 lines (8 loc) · 1.32 KB

Readme Card

PyLogin

This project is a fully featured login system written in Python. It uses the sqlite3 database and has support for admins of different types with different permissions or privileges admins can use to control users registered in their app.

Usage

  • First find the start method of the Main class located in main.py and change the context to either Context.ON_LOGIN_USER for a normal user or Context.ON_LOGIN_ADMIN for admin same for the sign up too, Context.ON_SIGN_UP_USER for creating a user account and Context.ON_SIGN_UP_ADMIN for creating an admin account.

  • Just run the main.py file

  • If deleting a user, clearing of database and deleting admin raises an error, go to verifiers.py, locate self.EMAIL_ADDRESS and self.PASSWORD and fill in your gmail creds. You still need some setups with your gmail first. See enable less secure apps in gmail for more details.