mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: show error alert if password change fails
This commit is contained in:
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user