Skip to content

Commit 88a834a

Browse files
authored
Update Cache-Control parameters to no-store (#709)
1 parent 4b899bc commit 88a834a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/apigee_edge_teams/src/Controller/TeamAppKeysController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function teamAppKeys($team, $app): JsonResponse {
4646
$payload = $this->getAppKeys($app_storage->load($app_id));
4747
}
4848
}
49-
return new JsonResponse($payload);
49+
return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']);
5050
}
5151

5252
}

src/Controller/DeveloperAppKeysController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function developerAppKeys($user, $app): JsonResponse {
7676
}
7777
}
7878
}
79-
return new JsonResponse($payload);
79+
return new JsonResponse($payload, 200, ['Cache-Control' => 'must-understand, no-store']);
8080
}
8181

8282
/**

0 commit comments

Comments
 (0)