mirror of https://github.com/jumpserver/jumpserver
网域网管取消密码不为空校验
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