mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 03:51:26 +01:00
closes #4731
This commit is contained in:
@@ -174,8 +174,9 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
|
||||
} else {
|
||||
socket.emit('user.deleteAccount', {}, function(err) {
|
||||
if (err) {
|
||||
app.alertError(err.message);
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
window.location.href = config.relative_path + '/';
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user