Merge pull request #331 from tmuncks/fix-enable-2fa

Fix double refresh when activating 2FA
This commit is contained in:
Khanh Ngo 2018-08-13 10:32:16 +07:00 committed by GitHub
commit 14de9143c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,6 @@
}
};
applyChanges(postdata, $SCRIPT_ROOT + '/user/profile', false, true);
location.reload();
});
</script>
{% endblock %}