Skip to content

Commit 842c30a

Browse files
committed
chore: removed unused format string
1 parent b8399c9 commit 842c30a

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
@@ -155,7 +155,7 @@ def get_next_path(self, request: HttpRequest) -> str:
155155
def unknown_idp(self, request, idp):
156156
msg = f"Error: IdP EntityID {escape(idp)} was not found in metadata"
157157
logger.error(msg)
158-
return HttpResponse(msg.format("Please contact technical support."), status=403)
158+
return HttpResponse(msg, status=403)
159159

160160
def load_sso_kwargs_scoping(self, sso_kwargs):
161161
"""Performs IdP Scoping if scoping param is present."""

0 commit comments

Comments
 (0)