Skip to content

Commit 3c52391

Browse files
committed
ACS custom_redirect subclasses will want access to session_info
1 parent 124a913 commit 3c52391

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
@@ -339,7 +339,7 @@ def post(self,
339339
self.customize_session(user, session_info)
340340

341341
relay_state = self.build_relay_state()
342-
custom_redirect_url = self.custom_redirect(user, relay_state)
342+
custom_redirect_url = self.custom_redirect(user, relay_state, session_info)
343343
if custom_redirect_url:
344344
return HttpResponseRedirect(custom_redirect_url)
345345
if not is_safe_url_compat(url=relay_state, allowed_hosts={self.request.get_host()}):

0 commit comments

Comments
 (0)