mirror of https://github.com/jumpserver/jumpserver
Merge branch 'fix_passwd_input' of github.com:jumpserver/jumpserver into fix_passwd_input
commit
948763443e
|
@ -368,7 +368,7 @@ class SshTty(Tty):
|
||||||
self.vim_flag = False
|
self.vim_flag = False
|
||||||
data = self.deal_command(data)[0:200]
|
data = self.deal_command(data)[0:200]
|
||||||
if data is not None:
|
if data is not None:
|
||||||
TtyLog(log=log, datetime=datetime.datetime.now(), cmd=result).save()
|
TtyLog(log=log, datetime=datetime.datetime.now(), cmd=data).save()
|
||||||
data = ''
|
data = ''
|
||||||
self.vim_data = ''
|
self.vim_data = ''
|
||||||
input_mode = False
|
input_mode = False
|
||||||
|
|
Loading…
Reference in New Issue