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.

  • Stephane Sobucki's avatar
    [hsbc] Sturdy handle_otp by adding otp_form to states · 39fcaf86
    Stephane Sobucki authored
    Because relogin or ActionNeeded can happen during the handle_otp, solely
    relying on the presence of the otp config value may cause some issue. We
    might already have validated the otp once but we will run handle_otp
    once again.
    
    Also using locate_browser() when handling otp can lead to weird
    behaviour. In our case it leads to unavailable page.
    
    To fix this we don't use locate_browser() anymore, instead we store the
    otp_form_data and otp_validation_url to use them in handle_otp. We also
    use their presence in states to be sure that it's the first time we call
    handle_otp.
    
    Closes: 337@sibi
    39fcaf86
Name
Last commit
Last update
..
pages Loading commit data...
__init__.py Loading commit data...
browser.py Loading commit data...
favicon.png Loading commit data...
module.py Loading commit data...
test.py Loading commit data...