diff --git a/modules/btpbanque/caisseepargne_browser.py b/modules/btpbanque/caisseepargne_browser.py index 531d0989624dbc06b2625de3c0318e5b61a06a65..ff69934eb80c4e473057d9e7fa978a925018c595 100644 --- a/modules/btpbanque/caisseepargne_browser.py +++ b/modules/btpbanque/caisseepargne_browser.py @@ -31,6 +31,7 @@ class CaisseEpargneBrowser(AbstractBrowser): BASEURL = 'https://www.btp-banque.fr' CENET_URL = 'https://www.entreprises.btp-banque.fr' + enseigne = 'btp' login = URL( r'https://www.btp-banque.fr/authentification/manage\?step=identification&identifiant=(?P.*)', diff --git a/modules/btpbanque/cenet_browser.py b/modules/btpbanque/cenet_browser.py index d70a2bc6a6a983960d816fbc07771b8331efcafe..deea58e32fcddb0e3200d668f7c3ad5a95cdff50 100644 --- a/modules/btpbanque/cenet_browser.py +++ b/modules/btpbanque/cenet_browser.py @@ -29,6 +29,7 @@ class CenetBrowser(AbstractBrowser): PARENT = 'caissedepargne' PARENT_ATTR = 'package.cenet.browser.CenetBrowser' BASEURL = 'https://www.entreprises.btp-banque.fr' + enseigne = 'btp' login = URL( r'https://www.btp-banque.fr/authentification/manage\?step=identification&identifiant=(?P.*)', diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py index 7af33b7a7c3cf21436f9496fb77b7932869e3b84..7e47e05ca4c1347717ace73f39d4730a42e21040 100644 --- a/modules/caissedepargne/browser.py +++ b/modules/caissedepargne/browser.py @@ -140,6 +140,7 @@ class CaisseEpargneLogin(LoginBrowser, StatesMixin): STATE_DURATION = 5 API_LOGIN = True CENET_URL = 'https://www.cenet.caisse-epargne.fr' + enseigne = 'ce' login = URL( r'https://www.caisse-epargne.fr/authentification/manage\?step=identification&identifiant=(?P.*)', r'https://.*/authentification/manage\?step=identification&identifiant=.*', @@ -830,7 +831,7 @@ def do_new_login(self, authentification_data=''): bpcesta = { "csid": csid, "typ_app": "rest", - "enseigne": "ce", + "enseigne": self.enseigne, "typ_sp": "out-band", "typ_act": "auth", "snid": snid, diff --git a/modules/creditcooperatif/caisseepargne_browser.py b/modules/creditcooperatif/caisseepargne_browser.py index 5c574538fd78c78303f9dea4136f232bf32ddb47..b8e4185d2c7cf7d18fc0ba80d4c614bd63a85b2e 100644 --- a/modules/creditcooperatif/caisseepargne_browser.py +++ b/modules/creditcooperatif/caisseepargne_browser.py @@ -32,6 +32,7 @@ class CaisseEpargneBrowser(AbstractBrowser): BASEURL = 'https://www.credit-cooperatif.coop' CENET_URL = 'https://www.espaceclient.credit-cooperatif.coop' + enseigne = 'ccoop' login = URL( r'https://www.credit-cooperatif.coop/authentification/manage\?step=identification&identifiant=(?P.*)', diff --git a/modules/creditcooperatif/cenet_browser.py b/modules/creditcooperatif/cenet_browser.py index 68d1d1510bfafd430ee90cb901268a39aafc1424..5af24aff4dc0382699748036d24f91a32129b227 100644 --- a/modules/creditcooperatif/cenet_browser.py +++ b/modules/creditcooperatif/cenet_browser.py @@ -31,6 +31,7 @@ class CenetBrowser(AbstractBrowser): PARENT = 'caissedepargne' PARENT_ATTR = 'package.cenet.browser.CenetBrowser' BASEURL = 'https://www.espaceclient.credit-cooperatif.coop/' + enseigne = 'ccoop' login = URL( r'https://www.credit-cooperatif.coop/authentification/manage\?step=identification&identifiant=(?P.*)',