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

Commit 1c031094 authored by Damien Mat's avatar Damien Mat Committed by Vincent A

[bp] Handle new 2FA message to trigger it (2)

Previous commit revealed new 2FA messages.
that where silenced by an ActionNeed.
Here it is a Certicode Plus auth method
that actually needed to be triggered.
parent 26bea85a
...@@ -161,7 +161,11 @@ def on_load(self): ...@@ -161,7 +161,11 @@ def on_load(self):
def get_auth_method(self): def get_auth_method(self):
status_message = CleanText('//div[@class="textFCK"]')(self.doc) status_message = CleanText('//div[@class="textFCK"]')(self.doc)
if 'Une authentification forte via Certicode Plus vous' in status_message: if
'Une authentification forte via Certicode Plus vous'
+ '|vous rendre sur l’application mobile La Banque Postale',
return 'cer+' return 'cer+'
elif elif
'authentification forte via Certicode vous' 'authentification forte via Certicode vous'
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