fix: 修复 xrdp 连接资产时会生成用户登录日志

pull/7579/head
xinwen 2022-01-25 16:02:56 +08:00 committed by Jiangjie.Bai
parent ab07091eb8
commit 1faba95a48
1 changed files with 0 additions and 3 deletions

View File

@ -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)