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:
@@ -28,7 +28,7 @@ impl BitwardenDesktopAgent {
|
|||||||
show_ui_request_tx: auth_request_tx,
|
show_ui_request_tx: auth_request_tx,
|
||||||
get_ui_response_rx: auth_response_rx,
|
get_ui_response_rx: auth_response_rx,
|
||||||
request_id: Arc::new(AtomicU32::new(0)),
|
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)),
|
is_running: Arc::new(AtomicBool::new(false)),
|
||||||
};
|
};
|
||||||
let cloned_agent_state = agent.clone();
|
let cloned_agent_state = agent.clone();
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export class SshAgentService implements OnDestroy {
|
|||||||
|
|
||||||
throw error;
|
throw error;
|
||||||
}),
|
}),
|
||||||
map(() => message),
|
map(() => [message, account.id]),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user