Skip to content

Commit 5f86b73

Browse files
authored
Merge pull request #247 from navaneeth0041/246-Logout-action-fix
fix(auth): prevent authenticated route access after logout
2 parents 653fac3 + e8f998a commit 5f86b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/presentation/settings/mobile/settings_view_mobile.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class _SettingsViewMobileState extends State<SettingsViewMobile> {
2525
bloc: locator<LoginRegisterBloc>(),
2626
listener: (context, state) {
2727
if (state is LogOutSuccess) {
28-
context.push('/login');
28+
context.go('/login');
2929
}
3030
},
3131
child: Container(

0 commit comments

Comments
 (0)