diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py index 2b783a036c3e28bf5985d147b7f461d68f859406..522af54021f920cefc432f5aafb31624ba98d6c4 100644 --- a/modules/caissedepargne/browser.py +++ b/modules/caissedepargne/browser.py @@ -269,7 +269,7 @@ def do_login(self): if data.get('authMode', '') == 'redirect': # the connection type EU could also be used as a criteria raise SiteSwitch('cenet') - typeAccount = accounts_types[0] + typeAccount = data['account'][0] if self.multi_type: assert typeAccount == self.typeAccount