From f70cf5893bb775625e79ed959721ede03e34a108 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 11 Jul 2022 18:54:47 +0200 Subject: Update --- Authentication/Username/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Authentication/Username/index.php') 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 -- cgit