From 5ee22c7d6cb82a5b99708b1c4f5d82cf4950e597 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 Dec 2011 13:56:38 +0300 Subject: [PATCH] fix API_DISABLED reported as login incorrect --- src/org/fox/ttrss/ApiRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/ApiRequest.java b/src/org/fox/ttrss/ApiRequest.java index d1b832c8..bea5ce5a 100644 --- a/src/org/fox/ttrss/ApiRequest.java +++ b/src/org/fox/ttrss/ApiRequest.java @@ -201,7 +201,7 @@ public class ApiRequest extends AsyncTask, Integer, JsonE if (error.equals("LOGIN_ERROR")) { m_lastError = ApiError.LOGIN_FAILED; } else if (error.equals("API_DISABLED")) { - m_lastError = ApiError.LOGIN_FAILED; + m_lastError = ApiError.API_DISABLED; } else if (error.equals("NOT_LOGGED_IN")) { m_lastError = ApiError.LOGIN_FAILED; } else if (error.equals("INCORRECT_USAGE")) {