diff --git a/aws_google_auth/google.py b/aws_google_auth/google.py index c2f2a04..c7f641c 100644 --- a/aws_google_auth/google.py +++ b/aws_google_auth/google.py @@ -392,7 +392,6 @@ def handle_captcha(self, sess, payload): except NameError: captcha_input = input("Captcha (case insensitive): ") or None - # Update the payload payload['identifier-captcha-input'] = captcha_input payload['identifiertoken'] = captcha_logintoken @@ -420,7 +419,6 @@ def handle_captcha(self, sess, payload): 'name': 'gxf' }).get('value') - newPayload['challengeId'] = challengeId newPayload['challengeType'] = challengeType newPayload['TL'] = tl @@ -436,7 +434,7 @@ def handle_captcha(self, sess, payload): newPayload['oauth'] = payload['oauth'] newPayload['Email'] = payload['Email'] newPayload['Passwd'] = payload['Passwd'] - + return self.post(response.url, data=newPayload) def handle_sk(self, sess):