new specific update_session_id action

This commit is contained in:
rustdesk 2023-07-01 21:14:48 +08:00
parent f0ca66164c
commit 5995c36379

View File

@ -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() {