diff --git a/backend/iam/sso/saml/views.py b/backend/iam/sso/saml/views.py index 82b9ccd3d..db9e3e64f 100644 --- a/backend/iam/sso/saml/views.py +++ b/backend/iam/sso/saml/views.py @@ -151,7 +151,7 @@ def dispatch(self, request, organization_slug): pre_social_login(request, login) if request.user.is_authenticated: get_account_adapter(request).logout(request) - login._accept_login() + login._accept_login(request) record_authentication(request, login) except User.DoesNotExist as e: # NOTE: We might want to allow signup some day