Allow the credentials to be updated for Feedbin. Fixes #2532

This commit is contained in:
Maurice Parker 2020-10-29 11:55:49 -05:00
parent 8846f145b9
commit 092d5efb3c

View File

@ -58,7 +58,7 @@ class AccountsFeedbinWindowController: NSWindowController {
return
}
guard !AccountManager.shared.duplicateServiceAccount(type: .feedbin, username: usernameTextField.stringValue) else {
guard account != nil || !AccountManager.shared.duplicateServiceAccount(type: .feedbin, username: usernameTextField.stringValue) else {
self.errorMessageLabel.stringValue = NSLocalizedString("There is already a Feedbin account with that username created.", comment: "Duplicate Error")
return
}