Skip to content

A simple Flask login page. In no way is supposed to be a representation of what a modern login system should be. Has email verification.

License

Notifications You must be signed in to change notification settings

mov-ebx/flask-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Login/Signup

A simple login system in Flask

This is in no way what a modern login system should be. It lacks tons of features such as 2-Factor Authentication
This was my very first time using Flask and this is my first experience in web development, so this code is FAR from perfect. I'm sure I overcomplicated most of it.
Please report vulnerabilities in the Issues page.

Python 3.10 GitHub license

How do I use this?

  • Make sure you have the requirements installed.
  • Run main.py and it will host the website at localhost on port 5000.
  • It'll ask you for your SendGrip API key and Email

Don't worry about the database, it'll automatically set it up for you with SQLite.

What should I modify?

  • You should modify the email messages along with the urls sent in the emails to your domain, which can be done in auth.py

What features does it have?

  • Signing in/up
  • Email verification
  • Password resetting

What features could be added?

I don't plan on adding these, but I may add them in the future

  • 2-Factor Authentication
  • Phone number verification

Credits