Refactor authentication: streamline cookie handling and enhance username retrieval in responses
This commit is contained in:
1 parent
a1bbae383a
commit
6b5a299079
3 files changed
+45
-18
No files matched your search
+2
-1
@@ -4,5 +4,6 @@ require "../api.php";
|
||||
$api = new gbAPI(true);
|
||||
|
||||
$api->answer(200, [
|
||||
"login" => true
|
||||
"login" => true,
|
||||
"username" => $api->username
|
||||
]);
|
||||
Reference in new issue
Block a user