From 924b826542a10f8e2ca95758c92e190adbbf7e43 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 8 Mar 2026 01:32:54 -0800 Subject: [PATCH] fix(flutter): redirect to /home after login (was /dashboard which no longer exists) Co-Authored-By: Claude Sonnet 4.6 --- it0_app/lib/features/auth/presentation/pages/login_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/it0_app/lib/features/auth/presentation/pages/login_page.dart b/it0_app/lib/features/auth/presentation/pages/login_page.dart index c4986bb..651acc8 100644 --- a/it0_app/lib/features/auth/presentation/pages/login_page.dart +++ b/it0_app/lib/features/auth/presentation/pages/login_page.dart @@ -282,7 +282,7 @@ class _LoginPageState extends ConsumerState { _emailController.text.trim(), _passwordController.text, ); - if (success && mounted) context.go('/dashboard'); + if (success && mounted) context.go('/home'); } Future _handleOtpLogin() async { @@ -291,6 +291,6 @@ class _LoginPageState extends ConsumerState { _phoneController.text.trim(), _otpController.text.trim(), ); - if (success && mounted) context.go('/dashboard'); + if (success && mounted) context.go('/home'); } }