diff --git a/modules/creditmutuel/browser.py b/modules/creditmutuel/browser.py index 3695a5cf3e1f20320c9d056989f8aad24ffe5c3f..7a2b6d62383c340d136bbb9923f46ba75df3932d 100644 --- a/modules/creditmutuel/browser.py +++ b/modules/creditmutuel/browser.py @@ -365,7 +365,10 @@ def check_redirections(self): self.twofa_auth_state = {} self.check_interactive() elif location: - self.location(location, allow_redirects=False) + allow_redirects = 'conditions-generales' in location + # Don't stay on this 302 + # This URL is still caught by ConditionsPage + self.location(location, allow_redirects=allow_redirects) def check_auth_methods(self): self.getCurrentSubBank()