mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 03:11:46 +00:00
...
This commit is contained in:
parent
0fe4f5a686
commit
45736d7f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -466,7 +466,7 @@ class Boss:
|
|||
if self.ask_if_remote_cmd_is_allowed(pcmd, window, peer_id):
|
||||
return AsyncResponse()
|
||||
response = {'ok': False, 'error': 'Remote control is disabled. Add allow_remote_control to your kitty.conf'}
|
||||
if q is False:
|
||||
if q is False and pcmd.get('password'):
|
||||
response['error'] = 'The user rejected this password or it is disallowed by remote_control_password in kitty.conf'
|
||||
no_response = pcmd.get('no_response') or False
|
||||
if no_response:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue