From de81e686993f4c5c9250f403624637f6555d7fec Mon Sep 17 00:00:00 2001 From: NguyenND Date: Tue, 2 Dec 2025 09:27:49 -0500 Subject: [PATCH] Updated redirect after login to attendance report page --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index f71a2f8..c1f25b0 100644 --- a/app.py +++ b/app.py @@ -1628,7 +1628,7 @@ def login(): # Redirect to intended page or dashboard next_page = request.args.get('next') - return redirect(next_page) if next_page else redirect(url_for('dashboard')) + return redirect(next_page) if next_page else redirect(url_for('attendance_report')) else: # Invalid credentials - log failed attempt