Skip to content

Commit

Permalink
添加禁止非登录用户发起远程的选项
Browse files Browse the repository at this point in the history
  • Loading branch information
1350962574 authored Jan 9, 2025
1 parent 817dd42 commit 4fabf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendezvous_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ impl RendezvousServer {
{
let mut msg_out = RendezvousMessage::new();
msg_out.set_punch_hole_response(PunchHoleResponse {
other_failure: String::from("The connection is not allowed. You have not logged in."),
other_failure: String::from("拒绝访问,您尚未登录,请联系管理员!"),
..Default::default()
});
return Ok((msg_out, None));
Expand Down

0 comments on commit 4fabf6c

Please sign in to comment.