From f809ebb70c4e8fdf488dcb96570e1cb4c9274ca7 Mon Sep 17 00:00:00 2001 From: dsc Date: Sat, 12 Mar 2022 19:13:50 +0200 Subject: [PATCH] redirect to dashboard after login --- yellow/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yellow/auth.py b/yellow/auth.py index 6af89be..de05baf 100644 --- a/yellow/auth.py +++ b/yellow/auth.py @@ -25,4 +25,4 @@ async def handle_user_login(resp: dict): # user is now logged in session['user'] = user.to_json() - return redirect(url_for('bp_routes.root')) + return redirect(url_for('bp_routes.dashboard'))