diff --git a/lib/pages/settings/login/ehentai_login.dart b/lib/pages/settings/login/ehentai_login.dart index c69856dcf..e610d534d 100644 --- a/lib/pages/settings/login/ehentai_login.dart +++ b/lib/pages/settings/login/ehentai_login.dart @@ -69,9 +69,9 @@ class _LoginScreenState extends State { developer.log('Get cookies: $cookies'); if (cookies.containsKey('ipb_member_id') && - cookies.containsKey('sk') && cookies.containsKey('ipb_pass_hash') && - cookies.containsKey('igneous')) { + (cookies.containsKey('sk') || + cookies.containsKey('igneous'))) { // await sessionStore.setSession(cookieString); // await _cookieManager.clearCookies(); Navigator.pop(context, cookieString);