diff --git a/plinth/modules/sso/views.py b/plinth/modules/sso/views.py index 3f0de87a8..749cbce19 100644 --- a/plinth/modules/sso/views.py +++ b/plinth/modules/sso/views.py @@ -111,11 +111,6 @@ class SSOLogoutView(LogoutView): def dispatch(self, request, *args, **kwargs): response = super(SSOLogoutView, self).dispatch(request, *args, **kwargs) - try: - del request.session[translation.LANGUAGE_SESSION_KEY] - except KeyError: - pass - response.delete_cookie(SSO_COOKIE_NAME) return response