From c610962c6a46ba55dd8422113d6d5758d95b1bbb Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Wed, 18 Sep 2024 19:02:02 +0200 Subject: [PATCH] Fix SSO regression --- backend/iam/sso/saml/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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