Update src/routes/auth.py
Browse files- 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("
|
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 |
|