mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-05 04:59:05 +08:00
update_session_id
This commit is contained in:
parent
8ab2a79fa2
commit
f0ca66164c
@ -1269,7 +1269,13 @@ 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