From 64c1e7d199f308c7ede91fe6b436438b70c7d88e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 12 Jun 2016 22:41:14 -0400 Subject: [PATCH] Fix bug with logging in with email and password. --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/client.py b/discord/client.py index a4130cf85..3ef5bd748 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: