This commit is contained in:
My-Responsitories
2025-04-07 09:17:19 +08:00
committed by GitHub
parent a8daf02610
commit d3cec0ec72

View File

@@ -123,11 +123,6 @@ class AccountManager extends Interceptor {
}
return handler.next(options);
} else {
if (account is AnonymousAccount) {
options.headers[HttpHeaders.cookieHeader] = '';
handler.next(options);
return;
}
account.cookieJar.loadForRequest(options.uri).then((cookies) {
final previousCookies =
options.headers[HttpHeaders.cookieHeader] as String?;