mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 12:05:56 +00:00
add logout.php
This commit is contained in:
11
logout.php
Normal file
11
logout.php
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?
|
||||||
|
session_start();
|
||||||
|
|
||||||
|
$_SESSION["uid"] = null;
|
||||||
|
$_SESSION["name"] = null;
|
||||||
|
|
||||||
|
session_destroy();
|
||||||
|
|
||||||
|
header("Location: tt-rss.php");
|
||||||
|
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user