mirror of
https://github.com/CharlesPikachu/DecryptLogin.git
synced 2026-10-17 05:06:59 +08:00
fix a bug
This commit is contained in:
@@ -63,7 +63,7 @@ class github():
|
||||
'password': password
|
||||
}
|
||||
res = self.session.post(self.post_url, headers=self.login_headers, data=data)
|
||||
if res.status_code == 200:
|
||||
if res.status_code == 200 and 'Sign in to GitHub · GitHub' not in res.text:
|
||||
print('[INFO]: Account -> %s, login successfully...' % username)
|
||||
return self.session
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user