Refactor authentication: streamline cookie handling and enhance username retrieval in responses

This commit is contained in:
marc-go committed 2026-10-09 19:20:53 +02:00
1 parent a1bbae383a
commit 6b5a299079
3 files changed
+45 -18

No files matched your search

+2 -1
View File
@@ -4,5 +4,6 @@ require "../api.php";
$api = new gbAPI(true);
$api->answer(200, [
"login" => true
"login" => true,
"username" => $api->username
]);