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.
-
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 orContext.ON_LOGIN_ADMIN
for admin same for the sign up too,Context.ON_SIGN_UP_USER
for creating a user account andContext.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
andself.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.