summaryrefslogtreecommitdiff
path: root/api/token.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/token.php')
-rw-r--r--api/token.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/api/token.php b/api/token.php
deleted file mode 100644
index 99b9158..0000000
--- a/api/token.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.inc"; global $isLoggedIn;
-if (!$isLoggedIn) header("Location: /-/login") and die();
-
-header("Content-Type: text/plain");
-die($_COOKIE['PEH2_SESSION_TOKEN']); \ No newline at end of file