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 bfcd87dc authored by ROLY Dorian's avatar ROLY Dorian Committed by Vincent A

[bred] Add new error code on login

closes: 15636@sibi
parent 31822c97
......@@ -392,6 +392,8 @@ def on_load(self):
# 20100: invalid login/password
if code == '20100':
raise BrowserIncorrectPassword(msg)
elif code == '20109':
raise ActionNeeded('Votre connexion ne présente pas un niveau de sécurité suffisant pour accéder à BREDConnect.')
# 20104 & 1000: unknown error during login
elif code in ('20104', '1000'):
# If promotion page is here, skip it and go to the login page
......
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