mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-01 21:54:48 -04:00
login and logout with telegram
This commit is contained in:
@@ -21,6 +21,12 @@ if (isset($_GET['ajax']))
|
||||
$offset = $_GET['offset'];
|
||||
}
|
||||
|
||||
if (isset($_GET['subscriber_logout'])){
|
||||
setcookie('tg_user', '');
|
||||
setcookie('referer', '', time() - 3600);
|
||||
header('Location: index.php');
|
||||
}
|
||||
|
||||
Template::render_header("Status");
|
||||
?>
|
||||
<div class="text-center">
|
||||
|
||||
Reference in New Issue
Block a user