#3 Added basic create product page
This commit is contained in:
@@ -86,5 +86,6 @@ def signup():
|
||||
# Function responsible for handling logouts from the site
|
||||
@blueprint.route('/logout')
|
||||
def logout():
|
||||
session.pop('user_id')
|
||||
# Clear the current user from the session if they are logged in
|
||||
session.pop('user_id', None)
|
||||
return redirect("/")
|
||||
Reference in New Issue
Block a user