Add the passcode cache back

This commit is contained in:
Yishi Lin 2019-10-01 00:16:56 +08:00
parent 4c83427a01
commit 230b421a90
2 changed files with 4 additions and 5 deletions

View file

@ -644,6 +644,7 @@ public class PasswordStore {
SharedDefaults.removeAll()
storeRepository = nil
PasscodeLock.shared.delete() // delete the passcode cache
NotificationCenter.default.post(name: .passwordStoreUpdated, object: nil)
NotificationCenter.default.post(name: .passwordStoreErased, object: nil)