Skip to content

Commit 2b126dd

Browse files
msirringhausiinuwa
authored andcommitted
Dont error out because of UxUpdate messages
1 parent dbce932 commit 2b126dd

File tree

1 file changed

+0
-9
lines changed
  • xyz-iinuwa-credential-manager-portal-gtk/src/credential_service

1 file changed

+0
-9
lines changed

xyz-iinuwa-credential-manager-portal-gtk/src/credential_service/usb.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,6 @@ impl InProcessUsbHandler {
145145
None => Err("Channel disconnected".to_string()),
146146
}
147147
}
148-
UsbStateInternal::NeedsPin {
149-
attempts_left: Some(attempts_left),
150-
..
151-
} if attempts_left <= 1 => Err("No more USB attempts left".to_string()),
152-
UsbStateInternal::NeedsUserVerification {
153-
attempts_left: Some(attempts_left),
154-
} if attempts_left <= 1 => {
155-
Err("No more on-device user device attempts left".to_string())
156-
}
157148
UsbStateInternal::NeedsPin { .. }
158149
| UsbStateInternal::NeedsUserVerification { .. }
159150
| UsbStateInternal::NeedsUserPresence => match signal_rx.recv().await {

0 commit comments

Comments
 (0)