The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 0b490959 authored by Ilyas Semmaoui's avatar Ilyas Semmaoui Committed by Vincent A

[amazon] start polling for app validation on approval_page

Previously, the login process was staring over even if we were starting from the
approval_page.
parent e463443d
......@@ -241,7 +241,7 @@ def do_login(self):
# Means security was passed, we're logged
return
if self.config['resume'].get():
if self.config['resume'].get() or self.approval_page.is_here():
self.check_app_validation()
# we are logged
return
......@@ -326,7 +326,6 @@ def is_login(self):
self.do_login()
else:
if self.approval_page.is_here():
self.check_interactive()
self.check_app_validation()
return
raise BrowserUnavailable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment