Skip to content
Snippets Groups Projects
Commit 8304e862 authored by Arno Wunderlich's avatar Arno Wunderlich
Browse files

users are now saved to db and rerouting

parent 643d1a4e
No related branches found
No related tags found
1 merge request!24users are now saved to db and rerouting
Pipeline #14645 passed
......@@ -34,7 +34,7 @@ def create_app(config: Optional[Dict] = None) -> Flask:
flask_app.config.from_mapping(
SECRET_KEY='dev',
BRAND="Hill Valley DMC dealership",
BRAND="Frozen auction page",
)
init_logging(flask_app)
......
......@@ -96,7 +96,7 @@ def login():
session.clear()
session['user_id'] = str(user['id'])
flash(f"Hello {email}, You have been logged in.")
#return redirect(url_for('items.index'))
return redirect(url_for('views.list_bid'))
print("Error logging in:", error)
flash(error)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment