Login Functionality Update

This commit is contained in:
Minik Gaarde Lambrecht
2021-03-22 15:29:18 +01:00
parent b524cd45fe
commit 029bc3c67d
11 changed files with 50 additions and 56 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ else{
header("Access-Control-Allow-Methods: GET");
header("Access-Control-Allow-Headers: X-Requested-With, Content-Type, Accept");
header('Content-Type: application/json;charset=UTF-8');
echo $groups->toJson(JSON_PRETTY_PRINT);
echo json_encode(array('data' => $groups->jsonSerialize()));