mirror of https://github.com/jumpserver/jumpserver
修改bug
parent
73da287c6c
commit
2eaf6d7d81
|
@ -276,7 +276,7 @@ def verify_connect(username, part_ip):
|
||||||
elif len(ip_matched) < 1:
|
elif len(ip_matched) < 1:
|
||||||
color_print('No Permission or No host.', 'red')
|
color_print('No Permission or No host.', 'red')
|
||||||
else:
|
else:
|
||||||
login_type, username, password, host, port = get_connect_item(username, ip_matched[0])
|
username, password, host, port = get_connect_item(username, ip_matched[0])
|
||||||
connect(username, password, host, port, LOGIN_NAME)
|
connect(username, password, host, port, LOGIN_NAME)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue