mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:55:55 +00:00
move logout_user() to UserHelper
This commit is contained in:
@@ -286,7 +286,7 @@ class Handler_Public extends Handler {
|
||||
|
||||
function logout() {
|
||||
if (validate_csrf($_POST["csrf_token"])) {
|
||||
Pref_Users::logout_user();
|
||||
UserHelper::logout();
|
||||
header("Location: index.php");
|
||||
} else {
|
||||
header("Content-Type: text/json");
|
||||
|
||||
Reference in New Issue
Block a user