Commit 47df690f authored by BaiJiangJie's avatar BaiJiangJie

[Update] 系统用户在手动登录模式下,如果已经设置了username,连接资产时不再提示输入

parent 6a72d9c0
......@@ -51,7 +51,7 @@ class ProxyServer:
self.client.send(warning(wr(msg, before=1, after=0)))
return
if system_user.login_mode == MANUAL_LOGIN or not system_user.username:
if system_user.login_mode == MANUAL_LOGIN and not system_user.username:
system_user_name = net_input(self.client, prompt='username: ', before=1)
system_user.username = system_user_name
......
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