From 2756e8f204bbea0abaaa21cd022a673ebb85c266 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Thu, 20 Jun 2019 11:18:09 -0500 Subject: [PATCH] Ensure that invalid username/password combinations throw an error --- Frameworks/Account/Feedbin/FeedbinAPICaller.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/Account/Feedbin/FeedbinAPICaller.swift b/Frameworks/Account/Feedbin/FeedbinAPICaller.swift index a8d9757d1..8f46c00bc 100644 --- a/Frameworks/Account/Feedbin/FeedbinAPICaller.swift +++ b/Frameworks/Account/Feedbin/FeedbinAPICaller.swift @@ -55,7 +55,7 @@ final class FeedbinAPICaller: NSObject { switch error { case TransportError.httpError(let status): if status == 401 { - completion(.success(self.credentials)) + completion(.success(nil)) } else { completion(.failure(error)) }