Commit 7a75a21c authored by Jerome Berthier's avatar Jerome Berthier Committed by Romain Bignon

[creditdunord] Fix wrong password not detected

parent 4a705c12
......@@ -81,6 +81,9 @@ class CreditDuNordBrowser(LoginBrowser):
if not self.logged:
raise BrowserIncorrectPassword()
if'//head[title="Authentification"]/script[contains(text(), "_pageLabel=reinitialisation_mot_de_passe")]'):
raise BrowserPasswordExpired()
def _iter_accounts(self):, loans_page_label=self.loans_page_label)
for a in
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