Fix 169: enabling/disabling Two Factor Authentication doesn't work

This commit is contained in:
Khanh Ngo 2018-04-01 14:49:40 +07:00
parent f172a64ddd
commit b7aefc57b2

View file

@ -165,7 +165,7 @@
'enable_otp' : enable_otp 'enable_otp' : enable_otp
} }
}; };
applyChanges(postdata, $SCRIPT_ROOT + '/user/profile'); applyChanges(postdata, $SCRIPT_ROOT + '/user/profile', false, true);
location.reload(); location.reload();
}); });
</script> </script>