Learning web/app development using Javascript/React, Pythom/flask.
I can see my session variable does contain a user info such as user id, but a logout button doesn't show up, which is supposed to show up when a user ir logged in, when a session contains a user id that is.
#cs50
Figured out how to insert id in the database as well as hashing passwords.
All I had to do was to add
PRIMARY KEY AUTOINCREMENT to the id column, and import bcrypt!
Figured out how to insert id in the database as well as hashing passwords.
All I had to do was to add
PRIMARY KEY AUTOINCREMENT to the id column, and import bcrypt!