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
v1.18.x
psychobunny 4 years ago
parent 9e1f72a435
commit cfdef77b28

@ -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;

Loading…
Cancel
Save