Commit 8c18ef73 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[societegenerale] raise ActionNeeded where access to website is suspended

parent fe7206c4
......@@ -135,7 +135,7 @@ class SocieteGenerale(LoginBrowser, StatesMixin):
reason, action = self.page.get_error()
if reason == 'echec_authent':
raise BrowserIncorrectPassword()
elif reason == 'acces_bloq':
elif reason in ('acces_bloq', 'acces_susp', 'pas_acces_bad', ):
raise ActionNeeded()
elif reason == 'err_tech':
# there is message "Service momentanément indisponible. Veuillez réessayer."
......
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