fix: show error alert if password change fails

isekai-main
Eldor 2 years ago committed by Julian Lam
parent edd2fc38fc
commit 3bd9a87154

@ -77,6 +77,7 @@ define('forum/account/edit/password', [
ajaxify.go('user/' + ajaxify.data.userslug + '/edit');
}
})
.catch(alerts.error)
.finally(() => {
btn.removeClass('disabled').find('i').addClass('hide');
currentPassword.val('');

Loading…
Cancel
Save