mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 10:53:10 +00:00
Fix bug with logging in with email and password.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user