fix: #13016, remote account deletion frontend UI bug

This commit is contained in:
Julian Lam
2024-12-30 14:42:42 -05:00
parent c3ddd704db
commit 2005a02a64

View File

@@ -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') {