Skip to content

Commit

Permalink
Merge pull request #844 from intuitem/hotfix/sso-regression
Browse files Browse the repository at this point in the history
Fix SSO regression
  • Loading branch information
eric-intuitem authored Sep 18, 2024
2 parents b587970 + c610962 commit 93db70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/iam/sso/saml/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93db70d

Please sign in to comment.