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'); } }