From 54b236084355b62f33ce7cb1e1becd913db2f578 Mon Sep 17 00:00:00 2001 From: xinwen Date: Tue, 25 Jan 2022 16:02:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20xrdp=20=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E8=B5=84=E4=BA=A7=E6=97=B6=E4=BC=9A=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/api/connection_token.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/authentication/api/connection_token.py b/apps/authentication/api/connection_token.py index 05297fbbd..8a9de3ae8 100644 --- a/apps/authentication/api/connection_token.py +++ b/apps/authentication/api/connection_token.py @@ -298,9 +298,6 @@ class SecretDetailMixin: data['type'] = 'application' data.update(app_detail) - self.request.session['auth_backend'] = settings.AUTH_BACKEND_AUTH_TOKEN - post_auth_success.send(sender=self.__class__, user=user, request=self.request, login_type='T') - serializer = self.get_serializer(data) return Response(data=serializer.data, status=200)