sources/saml: minor formatting fixes

This commit is contained in:
Jens Langhammer
2020-06-24 22:46:20 +02:00
parent 831e228f80
commit 05778d8065
4 changed files with 10 additions and 14 deletions

View File

@ -146,7 +146,7 @@ class Processor:
return self._flow_response(
request,
self._source.enrollment_flow,
**{PLAN_CONTEXT_PROMPT: name_id_filter,},
**{PLAN_CONTEXT_PROMPT: name_id_filter},
)
def _flow_response(

View File

@ -28,4 +28,5 @@ def clean_temporary_users():
LOGGER.debug(
"User is expired and will be deleted.", user=user, delta=source_delta
)
# TODO: Check if user is signed in anywhere?
user.delete()

View File

@ -97,7 +97,7 @@ class SLOView(LoginRequiredMixin, View):
return render(
request,
"saml/sp/sso_single_logout.html",
{"idp_logout_url": source.slo_url,},
{"idp_logout_url": source.slo_url},
)