From 2a373dd3fc5e8e82e9dc5816bd062f5be06d6965 Mon Sep 17 00:00:00 2001 From: Jake Fink Date: Mon, 29 Nov 2021 15:37:19 -0500 Subject: [PATCH] only prompt for sso if using key connector (#1667) --- src/iOS.Core/Controllers/LockPasswordViewController.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/iOS.Core/Controllers/LockPasswordViewController.cs b/src/iOS.Core/Controllers/LockPasswordViewController.cs index 3fc88472a..f35d9b64b 100644 --- a/src/iOS.Core/Controllers/LockPasswordViewController.cs +++ b/src/iOS.Core/Controllers/LockPasswordViewController.cs @@ -185,9 +185,13 @@ namespace Bit.iOS.Core.Controllers base.ViewDidAppear(animated); // Users with key connector and without biometric or pin has no MP to unlock with - if (_usesKeyConnector && (!(_pinLock || _biometricLock)) || ( _biometricLock && !_biometricIntegrityValid)) + if (_usesKeyConnector) { - PromptSSO(); + if (!(_pinLock || _biometricLock) || + (_biometricLock && !_biometricIntegrityValid)) + { + PromptSSO(); + } } else if (!_biometricLock || !_biometricIntegrityValid) {