Explorar el Código

Update NCKeychain.swift

Marino Faggiana hace 1 año
padre
commit
40b4416e72
Se han modificado 1 ficheros con 2 adiciones y 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)