mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-12 18:29:10 +08:00
new specific update_session_id action
This commit is contained in:
parent
f0ca66164c
commit
5995c36379
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user