saml2: do not log translated string (#18196)

This commit is contained in:
Frédéric Péters 2017-08-29 07:31:33 +02:00
parent 99bdbefc7c
commit 89a235977c
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class Saml2Directory(Directory):
elif request.get_method() == 'POST':
message, method = request.form.get('SAMLart',None), lasso.HTTP_METHOD_ARTIFACT_POST
else:
get_logger().error(_('Bad HTTP method on assertionConsumerArtifact endpoint'))
get_logger().error('Bad HTTP method on assertionConsumerArtifact endpoint')
return error_page(_('Invalid authentication response'))
login.initRequest(message, method)
except lasso.Error, error: