From c0de0b0d8e79be4cd44af5168f5af1f9efc0503b Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 7 Nov 2023 11:24:23 +0800 Subject: [PATCH] fix: Remove repetition code --- apps/authentication/api/connection_token.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/authentication/api/connection_token.py b/apps/authentication/api/connection_token.py index 3d58f0cf8..a78a36512 100644 --- a/apps/authentication/api/connection_token.py +++ b/apps/authentication/api/connection_token.py @@ -73,11 +73,6 @@ class RDPFileClientProtocolURLMixin: if multi_mon: rdp_options['use multimon:i'] = '1' - # 设置多屏显示 - multi_mon = is_true(self.request.query_params.get('multi_mon')) - if multi_mon: - rdp_options['use multimon:i'] = '1' - # 设置磁盘挂载 drives_redirect = is_true(self.request.query_params.get('drives_redirect')) if drives_redirect: