diff options
Diffstat (limited to 'webapp/components/user_settings/user_settings_security.jsx')
-rw-r--r-- | webapp/components/user_settings/user_settings_security.jsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/webapp/components/user_settings/user_settings_security.jsx b/webapp/components/user_settings/user_settings_security.jsx index f28e34197..55a0a0e9a 100644 --- a/webapp/components/user_settings/user_settings_security.jsx +++ b/webapp/components/user_settings/user_settings_security.jsx @@ -139,10 +139,9 @@ class SecurityTab extends React.Component { ); } deactivateMfa() { - const data = {}; - data.activate = false; - - Client.updateMfa(data, + Client.updateMfa( + '', + false, () => { this.props.updateSection(''); AsyncClient.getMe(); |