yasserrmd commited on
Commit
73b207d
·
verified ·
1 Parent(s): b3755f4

Update src/routes/auth.py

Browse files
Files changed (1) hide show
  1. src/routes/auth.py +1 -1
src/routes/auth.py CHANGED
@@ -26,7 +26,7 @@ def login():
26
  flash("Login successful!", "success")
27
  # Redirect to the main dashboard (which we will create later)
28
  # For now, redirect to a placeholder index
29
- return redirect(url_for("index"))
30
  else:
31
  flash("Invalid username or password.", "danger")
32
 
 
26
  flash("Login successful!", "success")
27
  # Redirect to the main dashboard (which we will create later)
28
  # For now, redirect to a placeholder index
29
+ return redirect(url_for("drafting.list_drafts"))
30
  else:
31
  flash("Invalid username or password.", "danger")
32