Commit 94876344 authored by ibuler's avatar ibuler

Merge branch 'fix_passwd_input' of github.com:jumpserver/jumpserver into fix_passwd_input

parents 39ebdb2f 3ef3b452
...@@ -368,7 +368,7 @@ class SshTty(Tty): ...@@ -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
......
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