fix(flutter): redirect to /home after login (was /dashboard which no longer exists)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
164d42e6b8
commit
924b826542
|
|
@ -282,7 +282,7 @@ class _LoginPageState extends ConsumerState<LoginPage> {
|
|||
_emailController.text.trim(),
|
||||
_passwordController.text,
|
||||
);
|
||||
if (success && mounted) context.go('/dashboard');
|
||||
if (success && mounted) context.go('/home');
|
||||
}
|
||||
|
||||
Future<void> _handleOtpLogin() async {
|
||||
|
|
@ -291,6 +291,6 @@ class _LoginPageState extends ConsumerState<LoginPage> {
|
|||
_phoneController.text.trim(),
|
||||
_otpController.text.trim(),
|
||||
);
|
||||
if (success && mounted) context.go('/dashboard');
|
||||
if (success && mounted) context.go('/home');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue