mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #13016, remote account deletion frontend UI bug
This commit is contained in:
@@ -39,7 +39,7 @@ define('accounts/delete', ['api', 'bootbox', 'alerts'], function (api, bootbox,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
api.del(`/users/${uid}${path}`, {}).then(() => {
|
api.del(`/users/${encodeURIComponent(uid)}${path}`, {}).then(() => {
|
||||||
alerts.success(successText);
|
alerts.success(successText);
|
||||||
|
|
||||||
if (typeof callback === 'function') {
|
if (typeof callback === 'function') {
|
||||||
|
|||||||
Reference in New Issue
Block a user