瀏覽代碼

Update NCKeychain.swift

Marino Faggiana 1 年之前
父節點
當前提交
40b4416e72
共有 1 個文件被更改,包括 2 次插入2 次删除
  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)