mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-09 14:30:18 +02:00
fix logout on user delete
This commit is contained in:
@@ -172,7 +172,7 @@ define('forum/account/edit', ['forum/account/header', 'uploader', 'translator'],
|
||||
if (err) {
|
||||
app.alertError(err.message);
|
||||
}
|
||||
app.logout();
|
||||
window.location.href = config.relative_path + '/';
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user