From 26c5729f9d02272ae16ca165bc320e5a1dc5115b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 20 Nov 2005 12:27:11 +0100 Subject: more http auth related work, logout still doesn't work --- functions.php | 8 ++------ prefs.php | 12 +----------- tt-rss.php | 10 ---------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/functions.php b/functions.php index 32540bf56..16b5dac67 100644 --- a/functions.php +++ b/functions.php @@ -678,12 +678,8 @@ exit; } } else { - $force_logout = $_POST["ForceLogout"]; - - if (!http_authenticate_user($link, $force_logout == "yes")) { - if (!http_authenticate_user($link, true)) { - exit; - } + if (!http_authenticate_user($link, false)) { + exit; } } } else { diff --git a/prefs.php b/prefs.php index 479425294..d2d3ca34d 100644 --- a/prefs.php +++ b/prefs.php @@ -51,20 +51,10 @@ - - - -
Hello,
- - -
-
- Hello, (Logout) - - + diff --git a/tt-rss.php b/tt-rss.php index 8a43f4d4b..2a83508db 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -64,20 +64,10 @@ - - - -
Hello,
- - -
-
- Hello, (Logout) - -- cgit v1.2.3