Commit d7190c5a authored by ibuler's avatar ibuler

[Update] 修改rdp协议判断

parent 47944573
...@@ -311,9 +311,9 @@ class InteractiveServer: ...@@ -311,9 +311,9 @@ class InteractiveServer:
if assets and len(assets) == 1: if assets and len(assets) == 1:
asset = assets[0] asset = assets[0]
self.search_result = None self.search_result = None
if asset.platform == "Windows": if asset.protocol == "rdp" or asset.platform.lower().startswith("windows"):
self.client.send(warning( self.client.send(warning(
_("Terminal does not support login Windows, " _("Terminal does not support login rdp, "
"please use web terminal to access")) "please use web terminal to access"))
) )
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment