summaryrefslogtreecommitdiff
path: root/Authentication/Username/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication/Username/index.php')
-rw-r--r--Authentication/Username/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Authentication/Username/index.php b/Authentication/Username/index.php
index 63b4aed..9a84870 100644
--- a/Authentication/Username/index.php
+++ b/Authentication/Username/index.php
@@ -5,7 +5,8 @@ header("Content-Type: application/json");
$a = [
"name" => $_PROFILE["name"],
- "id" => $_PROFILE['id']
+ "id" => $_PROFILE['id'],
+ "system" => json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/Private/Data/Systems.json"), true)[$_PROFILE['id']],
];
die(json_encode($a)); \ No newline at end of file