Skip to content

Commit

Permalink
fix: show error alert if password change fails
Browse files Browse the repository at this point in the history
  • Loading branch information
3ldor authored and julianlam committed Feb 22, 2023
1 parent edd2fc3 commit 3bd9a87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/src/client/account/edit/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
Expand Down

0 comments on commit 3bd9a87

Please sign in to comment.