Browse Source

Fix bug with logging in with email and password.

pull/244/head
Rapptz 9 years ago
parent
commit
64c1e7d199
  1. 2
      discord/client.py

2
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:

Loading…
Cancel
Save