From 45736d7f1d0f40a4fcf501382902ef53eefc91f3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 10 Aug 2022 17:28:22 +0530 Subject: [PATCH] ... --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 76ceb75b9..54e6d738f 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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: