summaryrefslogtreecommitdiff
path: root/pages/api/chrome.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/api/chrome.php')
-rw-r--r--pages/api/chrome.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/api/chrome.php b/pages/api/chrome.php
index 0be8a94..3b49ec7 100644
--- a/pages/api/chrome.php
+++ b/pages/api/chrome.php
@@ -80,6 +80,9 @@ if (!isset($_GET["t"])) {
<?php
die();
+ case "unique":
+ header("Content-Type: text/plain");
+ die("Chromebook-" . strtoupper(substr(sha1($_COOKIE['PEH2_SESSION_TOKEN']), 0, 5)));
default:
header("Location: /");
die();