saml: do not show invalid SSO message to end-user (#53716)

This commit is contained in:
Thomas NOËL 2021-05-04 12:15:49 +02:00
parent 627c4deb85
commit fb43ef51e1
1 changed files with 1 additions and 5 deletions

View File

@ -533,11 +533,7 @@ def sso(request):
extra={'request': request},
)
return HttpResponseBadRequest(
_(
"SAMLv2 Single Sign On: invalid message for WebSSO profile with HTTP-Redirect "
"binding: %r"
)
% message,
_("SAMLv2 Single Sign On: invalid message for WebSSO profile with HTTP-Redirect binding"),
content_type='text/plain',
)
except lasso.ProfileInvalidProtocolprofileError: