summaryrefslogtreecommitdiffstats
path: root/js/account.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/account.js')
-rw-r--r--js/account.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/account.js b/js/account.js
index c268bb8e5..c5557aa41 100644
--- a/js/account.js
+++ b/js/account.js
@@ -223,7 +223,7 @@ $(function() {
$('#mfa-password').focus();
$('#update').attr('disabled', false);
})
- .error(function(data) {
+ .fail(function(data) {
$('#mfa-totp-throbber').hide();
if (data.statusText === 'abort')
return;