Browse Source

net::HttpAuthCache::ClearEntriesAddedWithin -> ClearAllEntries

Jeremy Apthorp 6 years ago
parent
commit
8060e915c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      atom/browser/api/atom_api_session.cc

+ 1 - 1
atom/browser/api/atom_api_session.cc

@@ -396,7 +396,7 @@ void ClearAuthCacheInIO(
             options.origin, options.realm, options.auth_scheme,
             net::AuthCredentials(options.username, options.password));
       } else {
-        auth_cache->ClearEntriesAddedWithin(base::TimeDelta::Max());
+        auth_cache->ClearAllEntries();
       }
     } else if (options.type == "clientCertificate") {
       auto* client_auth_cache = network_session->ssl_client_auth_cache();