diff options
author | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-07-11 18:54:47 +0200 |
commit | f70cf5893bb775625e79ed959721ede03e34a108 (patch) | |
tree | b43b6c392d580304fb47777d240f529e92ea17b0 /Authentication/Username/index.php | |
parent | 2629b95c437cce1d331d8f4ab3a0d1ff394930a7 (diff) | |
download | bits-server-mane.tar.gz bits-server-mane.tar.bz2 bits-server-mane.zip |
Diffstat (limited to 'Authentication/Username/index.php')
-rw-r--r-- | Authentication/Username/index.php | 3 |
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 |