From 5995c363795535fa029b620f0b727eac75b92f42 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 1 Jul 2023 21:14:48 +0800 Subject: [PATCH] new specific update_session_id action --- src/server/connection.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/server/connection.rs b/src/server/connection.rs index c75450983..f276be439 100644 --- a/src/server/connection.rs +++ b/src/server/connection.rs @@ -1269,13 +1269,7 @@ impl Connection { } async fn handle_login_request_without_validation(&mut self, lr: &LoginRequest) { - let changed = lr.session_id != self.lr.session_id; self.lr = lr.clone(); - if changed { - self.post_conn_audit(json!({ - "action": "update_session_id", - })); - } if let Some(o) = lr.option.as_ref() { self.options_in_login = Some(o.clone()); if let Some(q) = o.supported_decoding.clone().take() {