Skip to content

Commit 52f40d7

Browse files
committed
Send response only once
1 parent 281e43a commit 52f40d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/saml2/idp/SSOService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$headers = $config->getOptionalArray('headers.security', Configuration::DEFAULT_SECURITY_HEADERS);
2222

23-
$response = $controller->singleSignOnService($request)->send();
23+
$response = $controller->singleSignOnService($request);
2424
foreach ($headers as $header => $value) {
2525
// Some pages may have specific requirements that we must follow. Don't touch them.
2626
if (!$response->headers->has($header)) {

public/saml2/idp/SingleLogoutService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
$headers = $config->getOptionalArray('headers.security', Configuration::DEFAULT_SECURITY_HEADERS);
2222

23-
$response = $controller->singleLogout($request)->send();
23+
$response = $controller->singleLogout($request);
2424
foreach ($headers as $header => $value) {
2525
// Some pages may have specific requirements that we must follow. Don't touch them.
2626
if (!$response->headers->has($header)) {

0 commit comments

Comments
 (0)