Remind user to not transfer files from machines they dont trust
This commit is contained in:
parent
72c1ff6085
commit
470a70db57
1 changed files with 4 additions and 2 deletions
|
|
@ -1172,7 +1172,8 @@ def start_send(self, asd_id: str) -> None:
|
|||
window = boss.window_id_map.get(self.window_id)
|
||||
if window is not None:
|
||||
boss.confirm(_(
|
||||
'The remote machine wants to read some files from this computer. Do you want to allow the transfer?'),
|
||||
'The remote machine wants to read some files from this computer.'
|
||||
' Only allow transfers to computers you trust. Do you want to allow the transfer?'),
|
||||
self.handle_receive_confirmation, asd_id, window=window,
|
||||
)
|
||||
|
||||
|
|
@ -1202,7 +1203,8 @@ def start_receive(self, ar_id: str) -> None:
|
|||
window = boss.window_id_map.get(self.window_id)
|
||||
if window is not None:
|
||||
boss.confirm(_(
|
||||
'The remote machine wants to send some files to this computer. Do you want to allow the transfer?'),
|
||||
'The remote machine wants to send some files to this computer.'
|
||||
' Only allow transfers from computers you trust. Do you want to allow the transfer?'),
|
||||
self.handle_send_confirmation, ar_id, window=window,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue