Commit 086a29c5 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[caissedepargne] avoid reload state after transfer OTP error

parent 3d03dd0f
......@@ -185,7 +185,7 @@ class CaisseEpargne(LoginBrowser, StatesMixin):
# need to post to valid otp when adding recipient.
def locate_browser(self, state):
if 'is_send_sms' in state and state['is_send_sms'] is not None:
if 'is_send_sms' in state and state['is_send_sms']:
super(CaisseEpargne, self).locate_browser(state)
def do_login(self):
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