diff options
| author | Rapptz <[email protected]> | 2016-06-12 22:41:14 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-12 22:41:14 -0400 |
| commit | 64c1e7d199f308c7ede91fe6b436438b70c7d88e (patch) | |
| tree | 3ed5ac5c47be0355adc9894bbdd603b6a0a5a08e | |
| parent | Fix bug with edit_role and create_role not working. (diff) | |
| download | discord.py-64c1e7d199f308c7ede91fe6b436438b70c7d88e.tar.xz discord.py-64c1e7d199f308c7ede91fe6b436438b70c7d88e.zip | |
Fix bug with logging in with email and password.
| -rw-r--r-- | discord/client.py | 2 |
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: |