login and logout with telegram

This commit is contained in:
jhuesser
2018-06-07 13:21:35 +02:00
committed by Thomas Nilsen
parent 65f6de7289
commit c96cc6e1c5
4 changed files with 72 additions and 2 deletions
+6
View File
@@ -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">