diff --git a/src/App/Pages/Lock/LockFingerprintPage.cs b/src/App/Pages/Lock/LockFingerprintPage.cs index ed541d9ed..ef50cadd5 100644 --- a/src/App/Pages/Lock/LockFingerprintPage.cs +++ b/src/App/Pages/Lock/LockFingerprintPage.cs @@ -86,7 +86,13 @@ namespace Bit.App.Pages } _lastAction = DateTime.UtcNow; - var result = await _fingerprint.AuthenticateAsync(AppResources.FingerprintDirection); + var fingerprintRequest = new AuthenticationRequestConfiguration(AppResources.FingerprintDirection) + { + AllowAlternativeAuthentication = true, + CancelTitle = AppResources.Cancel, + FallbackTitle = AppResources.LogOut + }; + var result = await _fingerprint.AuthenticateAsync(fingerprintRequest); if(result.Authenticated) { _appSettings.Locked = false; diff --git a/src/iOS.Extension/LockFingerprintViewController.cs b/src/iOS.Extension/LockFingerprintViewController.cs index 94c28e349..424fda55b 100644 --- a/src/iOS.Extension/LockFingerprintViewController.cs +++ b/src/iOS.Extension/LockFingerprintViewController.cs @@ -70,7 +70,13 @@ namespace Bit.iOS.Extension public async Task CheckFingerprintAsync() { - var result = await _fingerprint.AuthenticateAsync(AppResources.FingerprintDirection); + var fingerprintRequest = new AuthenticationRequestConfiguration(AppResources.FingerprintDirection) + { + AllowAlternativeAuthentication = true, + CancelTitle = AppResources.Cancel, + FallbackTitle = AppResources.LogOut + }; + var result = await _fingerprint.AuthenticateAsync(fingerprintRequest); if(result.Authenticated) { _appSettingsService.Locked = false;