diff options
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,11 +12,12 @@ if (!USE_HTTP_AUTH) { if (!$_SESSION["uid"]) { - header("Location: login.php?rt=prefs.php"); + header("Location: login.php?rt=tt-rss.php"); exit; } } else { - authenticate_user($link); + $force_logout = $_POST["ForceLogout"]; + http_authenticate_user($link, $force_logout == "yes"); } } else { $_SESSION["uid"] = 1; |