mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-31 22:29:15 +00:00
fix http basic authentication
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
<?
|
||||
session_start();
|
||||
|
||||
require_once "config.php";
|
||||
|
||||
$_SESSION["uid"] = null;
|
||||
$_SESSION["name"] = null;
|
||||
$_SESSION["access_level"] = null;
|
||||
|
||||
session_destroy();
|
||||
|
||||
header("Location: login.php");
|
||||
|
||||
if (!USE_HTTP_AUTH) {
|
||||
header("Location: login.php");
|
||||
} else {
|
||||
header("Location: tt-rss.php");
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user