1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-05 23:53:33 +00:00

only prompt for sso if using key connector (#1667)

This commit is contained in:
Jake Fink
2021-11-29 15:37:19 -05:00
committed by Jacob Fink
parent 035f179796
commit 0788ecd32b

View File

@@ -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)
{