aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index a4130cf8..3ef5bd74 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -298,7 +298,7 @@ class Client:
def _login_2(self, email, password, **kwargs):
# attempt to read the token from cache
if self.cache_auth:
- token = self._get_cache_token()
+ token = self._get_cache_token(email, password)
try:
self.http.static_login(token, bot=False)
except: