Skip to content
Snippets Groups Projects
Commit 1082da8d authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Refactor

parent 991d4ea6
No related branches found
No related tags found
No related merge requests found
...@@ -68,12 +68,12 @@ class SingleLogout ...@@ -68,12 +68,12 @@ class SingleLogout
[$idp, 'doLogoutRedirect'], [$idp, 'doLogoutRedirect'],
[$httpUtils->checkURLAllowed($request->request->get('ReturnTo'))] [$httpUtils->checkURLAllowed($request->request->get('ReturnTo'))]
); );
} else { }
try {
return new RunnableResponse([Module\saml\IdP\SAML2::class, 'receiveLogoutMessage'], [$idp]); try {
} catch (UnsupportedBindingException $e) { return new RunnableResponse([Module\saml\IdP\SAML2::class, 'receiveLogoutMessage'], [$idp]);
throw new Error\Error('SLOSERVICEPARAMS', $e, 400); } catch (UnsupportedBindingException $e) {
} throw new Error\Error('SLOSERVICEPARAMS', $e, 400);
} }
Assert::true(false); Assert::true(false);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment