mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-17 13:47:49 +00:00
网域网管取消密码不为空校验
This commit is contained in:
parent
8f3fb60332
commit
e5d3fe696f
@ -63,8 +63,6 @@ class Gateway(BaseUser):
|
||||
def test_connective(self, local_port=None):
|
||||
if local_port is None:
|
||||
local_port = self.port
|
||||
if not self.password:
|
||||
return False, _("Password cannot be empty")
|
||||
|
||||
client = paramiko.SSHClient()
|
||||
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
|
||||
|
Loading…
Reference in New Issue
Block a user