Sfoglia il codice sorgente

fix query to delete account encryption secrets from the keychain

cyberta 3 anni fa
parent
commit
b3e9cec6ff
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      DcCore/DcCore/Helper/KeychainManager.swift

+ 0 - 1
DcCore/DcCore/Helper/KeychainManager.swift

@@ -40,7 +40,6 @@ public class KeychainManager {
      */
     public static func deleteAccountSecret(id: Int) {
         let query = [
-          kSecValueData: createRandomPassword().data(using: .utf8)!,
           kSecAttrAccount as String: "\(id)",
           kSecClass: kSecClassGenericPassword,
           kSecAttrAccessGroup as String: KcM.sharedKeychainGroup as AnyObject,