We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b988cc7 commit 88b4a57Copy full SHA for 88b4a57
android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt
@@ -351,7 +351,11 @@ class FidoManager(
351
pinStore.setPin(null)
352
fidoViewModel.updateCredentials(null)
353
354
- pinRetries = if (pinStore.hasPin()) clientPin.pinRetries.count else null
+ pinRetries = if (fidoSession.cachedInfo.options["clientPin"] == true)
355
+ // pinRetries exists only if the authenticator has a PIN set
356
+ clientPin.pinRetries.count
357
+ else
358
+ null
359
360
fidoViewModel.setSessionState(
361
Session(
0 commit comments