Skip to content

Commit

Permalink
Merge pull request #147 from x1a0/master
Browse files Browse the repository at this point in the history
Support App Authentication
  • Loading branch information
oczkers committed Sep 28, 2015
2 parents 26cdea7 + 36e4834 commit 236089a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __login__(self, email, passwd, secret_answer, platform='pc', code=None, emul
self.r.headers['Referer'] = rc.url # s3
rc = self.r.post(rc.url, {'twofactorType': 'EMAIL', 'country': 0, 'phoneNumber': '', '_eventId': 'submit'}
'''
if 'We sent a security code to your' in rc.text or 'Your security code was sent to' in rc.text: # post code
if 'We sent a security code to your' in rc.text or 'Your security code was sent to' in rc.text or 'Enter the 6-digit verification code' in rc.text: # post code
# TODO: 'We sent a security code to your email' / 'We sent a security code to your ?'
# TODO: pick code from codes.txt?
if not code:
Expand Down

0 comments on commit 236089a

Please sign in to comment.