From 7fc65df88c94b43318c7caa6cc9fff3a4b084449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 22 Aug 2015 09:04:51 +0200 Subject: [PATCH] saml: fix call to error_page in single logout return page (#8087) --- src/authentic2/idp/saml/saml2_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2/idp/saml/saml2_endpoints.py b/src/authentic2/idp/saml/saml2_endpoints.py index 2ec54bc..1143579 100644 --- a/src/authentic2/idp/saml/saml2_endpoints.py +++ b/src/authentic2/idp/saml/saml2_endpoints.py @@ -1433,7 +1433,7 @@ def slo(request): title=_('You are being redirected to "%s"') % provider.name) except (lasso.ProfileInvalidMsgError, lasso.ProfileMissingIssuerError), e: - return error_page(_('Invalid logout request'), logger=logger, warning=True) + return error_page(request, _('Invalid logout request'), logger=logger, warning=True) session_indexes = logout.request.sessionIndexes if len(session_indexes) == 0: logger.warning('slo received a request from %s without any \ -- 2.5.0