summaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-23 14:52:02 +0100
committerAndrew Dolgov <[email protected]>2005-11-23 14:52:02 +0100
commitf557cd78ff5d9fba54eb2e660a2a5fa512b0bd90 (patch)
tree96cc38909d948851475270ba586c197c02688572 /logout.php
parent81dde650b6eea3c8623e3b173d8e9bc93a69f616 (diff)
some http auth fixes
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php26
1 files changed, 22 insertions, 4 deletions
diff --git a/logout.php b/logout.php
index 7757689dc..9af2bab61 100644
--- a/logout.php
+++ b/logout.php
@@ -8,7 +8,25 @@
if (!USE_HTTP_AUTH) {
header("Location: login.php");
- } else {
- header("Location: tt-rss.php");
- }
-?>
+ } else { ?>
+
+ <html>
+ <head>
+ <title>Tiny Tiny RSS : Logout</title>
+ <link rel="stylesheet" type="text/css" href="tt-rss.css">
+ <body class="logoutBody">
+ <div class="logoutContent">
+
+ <h1>You have been logged out.</h1>
+
+ <p><span class="logoutWarning">Warning:</span>
+ As there is no way to reliably clear HTTP Authentication
+ credentials from your browser, it is recommended for you to close
+ this browser window, otherwise your browser could automatically
+ authenticate again using previously supplied credentials, which
+ is a security risk.</p>
+
+ </div>
+ </body>
+ </html>
+<? } ?>