mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 07:21:28 +00:00
some http auth fixes
This commit is contained in:
26
logout.php
26
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>
|
||||
<? } ?>
|
||||
|
||||
Reference in New Issue
Block a user