1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

[PM-18413] Fix SSH agent initial prompt issues (#13468)

* fix: set `needs_unlock` default value to true on unix

closes #13323

* fix: ssh prompt not appearing right after unlocking vault

---------

Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
This commit is contained in:
Zihad
2025-03-04 01:05:18 +06:00
committed by GitHub
parent e10b5af9d3
commit 0c61a44d33
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ impl BitwardenDesktopAgent {
show_ui_request_tx: auth_request_tx,
get_ui_response_rx: auth_response_rx,
request_id: Arc::new(AtomicU32::new(0)),
needs_unlock: Arc::new(AtomicBool::new(false)),
needs_unlock: Arc::new(AtomicBool::new(true)),
is_running: Arc::new(AtomicBool::new(false)),
};
let cloned_agent_state = agent.clone();

View File

@@ -130,7 +130,7 @@ export class SshAgentService implements OnDestroy {
throw error;
}),
map(() => message),
map(() => [message, account.id]),
);
}