mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
MESSENGER-3861 Security fix, set lastActiveTime only when pinUnlocked state is reached
This commit is contained in:
@@ -105,6 +105,7 @@ final class SetupBiometricsViewModel: SetupBiometricsViewModelType {
|
||||
// biometrics can't be used until further unlock with pin or a new log in
|
||||
self.pinCodePreferences.canUseBiometricsToUnlock = false
|
||||
self.coordinatorDelegate?.setupBiometricsViewModelDidCompleteWithReset(self, dueToTooManyErrors: true)
|
||||
self.userCancelledUnlockWithBiometrics()
|
||||
} else if nsError.code == LAError.Code.userCancel.rawValue || nsError.code == LAError.Code.userFallback.rawValue {
|
||||
self.userCancelledUnlockWithBiometrics()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user