fix http basic authentication
parent
2317ffaae7
commit
8cb7480484
@ -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");
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue