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:
psychobunny
2021-03-28 11:59:17 -04:00
parent 9e1f72a435
commit cfdef77b28

View File

@@ -88,7 +88,7 @@ define('forum/account/edit', [
}
confirmBtn.html('<i class="fa fa-check"></i>');
window.location.href = config.relative_path + '/';
app.logout();
});
return false;