Skip to content

Commit 928f179

Browse files
committed
typo error in Exception message
1 parent 755acfe commit 928f179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangosaml2/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def post(self, request, attribute_mapping=None, create_unknown_user=None):
390390
try:
391391
self.custom_validation(response)
392392
except Exception as e:
393-
logger.warning("SAML Response validation error: {e}")
393+
logger.warning(f"SAML Response validation error: {e}")
394394
return self.handle_acs_failure(request, status=400, exception=SuspiciousOperation('SAML2 validation error'))
395395

396396
session_id = response.session_id()

0 commit comments

Comments
 (0)