We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f962c6d commit 2d58190Copy full SHA for 2d58190
lib/redux/login_redux.dart
@@ -6,6 +6,7 @@ import 'package:gsy_github_app_flutter/common/utils/common_utils.dart';
6
import 'package:gsy_github_app_flutter/common/utils/navigator_utils.dart';
7
import 'package:redux/redux.dart';
8
import 'package:rxdart/rxdart.dart';
9
+import 'package:webview_flutter/webview_flutter.dart';
10
import 'middleware/epic_store.dart';
11
12
/**
@@ -62,6 +63,7 @@ class LoginMiddleware implements MiddlewareClass<GSYState> {
62
63
void call(Store<GSYState> store, dynamic action, NextDispatcher next) {
64
if (action is LogoutAction) {
65
UserDao.clearAll(store);
66
+ CookieManager().clearCookies();
67
SqlManager.close();
68
NavigatorUtils.goLogin(action.context);
69
}
0 commit comments