mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Ensure that invalid username/password combinations throw an error
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user