diff --git a/gregui/authentication/auth_backends.py b/gregui/authentication/auth_backends.py index ee021290473ece29d82bca2ea825aa4f73253e10..023092bf6a8368f66243efab385e4cb3331bd9e4 100644 --- a/gregui/authentication/auth_backends.py +++ b/gregui/authentication/auth_backends.py @@ -184,12 +184,6 @@ class GregOIDCBackend(ValidatingOIDCBackend): try: user = self.UserModel.objects.filter(username=username) - - # TODO Does this make sense? - session = self.request.session - for key, value in claims.items(): - session["oidc_claim_"+key] = value - return user except self.UserModel.DoesNotExist: return self.UserModel.objects.none()