MLH-Fellowship / 0.5.2-cms

Your one stop shop for maintaining and keeping track of the people you meet, and memorable details about them!
GNU General Public License v3.0
1 stars 0 forks source link

set up user authentication #5

Closed ebonnecab closed 4 years ago

ebonnecab commented 4 years ago

set up user objects in DB + authentication

FawziyahAlebiosu commented 4 years ago

@ebonnecab will this be with like google sign-in or which system are you considering using to authenticate users? I proposed google above because most people have a google account, but if you have something in mind that will be easier to implement, please share!

ebonnecab commented 4 years ago

@FawziyahAlebiosu right now I have a user table that stores their name, username, and password hash. Users can register, login, and logout. It also lets users stay logged in until they logout. I use the werkzeug package to create a password hash and check that it is the correct hash. This is how the Flask tutorial recommended I do it, but we can also research other ways.