fix: update connection if the secret channel is not available, but password is

This commit is contained in:
Ashley Wulber 2026-02-01 17:45:09 -05:00 committed by Ashley Wulber
parent 4a311f15a4
commit 55b502dff3

View file

@ -992,7 +992,7 @@ impl NetworkManagerState {
}
let known_conn = if let Some(known_conn) = known_conn {
if secret_tx.is_none() || identity.is_some() {
if (secret_tx.is_none() && password.is_some()) || identity.is_some() {
known_conn.update(conn_settings).await.unwrap();
}
known_conn