Explorar o código

Update NCKeychain.swift

Marino Faggiana hai 1 ano
pai
achega
40b4416e72
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      iOSClient/Utility/NCKeychain.swift

+ 2 - 2
iOSClient/Utility/NCKeychain.swift

@@ -79,7 +79,7 @@ import KeychainAccess
             if let value = try? keychain.get("requestPasscodeAtStart"), let result = Bool(value) {
                 return result
             }
-            return false
+            return true
         }
         set {
             keychain["requestPasscodeAtStart"] = String(newValue)
@@ -155,7 +155,7 @@ import KeychainAccess
             if let value = try? keychain.get("disablefilesapp"), let result = Bool(value) {
                 return result
             }
-            return true
+            return false
         }
         set {
             keychain["disablefilesapp"] = String(newValue)