mirror of
https://github.com/status-im/status-keycard-go.git
synced 2025-01-18 18:31:56 +00:00
add PIN check in authenticate
This commit is contained in:
parent
15f654ce3a
commit
ed51858caf
@ -224,6 +224,10 @@ func (f *KeycardFlow) authenticate(kc *keycardContext) error {
|
||||
pinError = PIN
|
||||
}
|
||||
|
||||
if f.cardInfo.pinRetries == 0 {
|
||||
return f.unblockPIN(kc)
|
||||
}
|
||||
|
||||
err := f.pauseAndWait(EnterPIN, pinError)
|
||||
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user