summaryrefslogtreecommitdiff
path: root/pages/api/chrome.php
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-03-15 22:40:55 +0100
committerRaindropsSys <contact@minteck.org>2023-03-15 22:40:55 +0100
commit940defd2939f52480ed5b548189b549457944995 (patch)
tree7ca52eca3c3fcafe507dc24b4e2812ab785acc29 /pages/api/chrome.php
parenteb89b15c0f044673c1206a418a21d0baba1a675e (diff)
downloadpluralconnect-940defd2939f52480ed5b548189b549457944995.tar.gz
pluralconnect-940defd2939f52480ed5b548189b549457944995.tar.bz2
pluralconnect-940defd2939f52480ed5b548189b549457944995.zip
Updated 14 files (automated)
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();