Reconnection
This commit is contained in:
parent
d439da51fb
commit
eb5db17652
2 changed files with 15 additions and 0 deletions
|
|
@ -356,6 +356,15 @@ impl GeneralConnection {
|
|||
expected,
|
||||
response
|
||||
);
|
||||
let err_msg = CommunicationValue::new(CommunicationType::error)
|
||||
.with_id(cv.get_id())
|
||||
.add_data(
|
||||
DataTypes::message,
|
||||
DataValue::Str(
|
||||
"Challenge response mismatch — authentication rejected".to_string(),
|
||||
),
|
||||
);
|
||||
let _ = self.sender.send(&err_msg).await;
|
||||
}
|
||||
} else {
|
||||
log_err!(
|
||||
|
|
|
|||
Loading…
Reference in a new issue