diff --git a/modules/ing/api_browser.py b/modules/ing/api_browser.py index 942c3b0a063e61bae9170102ca7bd877defce3c8..b4ed362dca4c3d323e9da4e2a4876d93a00f3ed7 100644 --- a/modules/ing/api_browser.py +++ b/modules/ing/api_browser.py @@ -119,7 +119,7 @@ def handle_login_error(self, r): assert 'error' in error_page, "Something went wrong in login" error = error_page['error'] - if error['code'] == 'AUTHENTICATION.INVALID_PIN_CODE': + if error['code'] in ('AUTHENTICATION.INVALID_PIN_CODE', 'AUTHENTICATION.INVALID_CIF_AND_BIRTHDATE_COMBINATION'): raise BrowserIncorrectPassword(error['message']) elif error['code'] in ('AUTHENTICATION.ACCOUNT_INACTIVE', 'AUTHENTICATION.ACCOUNT_LOCKED', 'AUTHENTICATION.NO_COMPLETE_ACCOUNT_FOUND'):