fix a bug caused by keychain modifications

This commit is contained in:
Bob Sun 2017-02-20 11:48:39 +08:00
parent eb501ee65f
commit 70166c9901
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
4 changed files with 22 additions and 25 deletions

View file

@ -82,7 +82,6 @@ class PasswordRepositorySettingsTableViewController: BasicStaticTableViewControl
NotificationCenter.default.post(Notification(name: Notification.Name("passwordUpdated")))
Defaults[.gitRepositoryURL] = URL(string: gitRepostiroyURL)
Defaults[.gitRepositoryUsername] = username
PasswordStore.shared.gitRepositoryPassword = password
Defaults[.gitRepositoryAuthenticationMethod] = auth
Defaults[.gitRepositoryPasswordAttempts] = 0
SVProgressHUD.showSuccess(withStatus: "Done")