mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: use app.logout() to clear session after deleting user
I think this was originally changed when we added logging in/out without refreshing, but didn't change this back after reverting that feature
This commit is contained in:
@@ -88,7 +88,7 @@ define('forum/account/edit', [
|
|||||||
}
|
}
|
||||||
|
|
||||||
confirmBtn.html('<i class="fa fa-check"></i>');
|
confirmBtn.html('<i class="fa fa-check"></i>');
|
||||||
window.location.href = config.relative_path + '/';
|
app.logout();
|
||||||
});
|
});
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user