Skip to content

Commit

Permalink
Make sure to read accounts if a yubikey is already connected at app s…
Browse files Browse the repository at this point in the history
…tart.
  • Loading branch information
jensutbult committed Sep 26, 2023
1 parent 45199ae commit 7722f25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Authenticator/Model/OATHSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ class OATHSessionHandler: NSObject, YKFManagerDelegate {
self.wiredContinuation = nil
}
}
if let connection: YKFConnectionProtocol = self.accessoryConnection ?? self.smartCardConnection {
self.wiredConnectionCallback?(connection)
}
}
} onCancel: {
wiredContinuation?.resume(throwing: "Connection cancelled")
Expand Down

0 comments on commit 7722f25

Please sign in to comment.