Browse Source

Update NCKeychain.swift

Marino Faggiana 1 year ago
parent
commit
40b4416e72
1 changed files with 2 additions and 2 deletions
  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)