浏览代码

Update README.md

kishikawa katsumi 10 年之前
父节点
当前提交
a784be95e1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -403,8 +403,8 @@ if let password = keychain.get(username) {
             // If the login is successful,
             // save the credentials to both the Keychain and the Shared Web Credentials.
 
-            keychain[username] = password
-            keychain.setSharedPassword(password, account: username)
+            keychain[username] = inputPassword
+            keychain.setSharedPassword(inputPassword, account: username)
         }
     }
 }