aboutsummaryrefslogtreecommitdiff
path: root/src/client/mod.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-22 19:12:29 +0300
committerGitHub <noreply@github.com>2026-09-22 19:12:29 +0300
commit1c6397b1cddb288099ed212a5979732698bd72c2 (patch)
tree0574b428903ea1ce106bc7ba36e213c0418aa9f4 /src/client/mod.rs
parent7237703dc59102cf3097e833eb896b314007b548 (diff)
fix: reuse ssh authentication and add machine recovery commands (#4490)
* fix: reuse ssh authentication and add in-app mfa recovery refs #3763 * refactor: move ssh recovery to machine cli refs #3763
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 68e569f9..9ad51a36 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -1184,6 +1184,7 @@ async fn run_client_loop(
}
let unavailable = state.shell.as_mut().and_then(|shell| {
shell.set_endpoint_status(&endpoint_id, status);
+ shell.set_machine_diagnostic(&endpoint_id, message.clone());
(status == endpoint::ClientEndpointStatus::Attention
&& shell.endpoint_is_active(&endpoint_id))
.then(|| format!("{}: {message}", shell.endpoint_label(&endpoint_id)))