mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 00:05:56 +00:00
api: don't return errors on login success
This commit is contained in:
@@ -88,6 +88,8 @@ class API extends Handler {
|
||||
$this->_wrap(self::STATUS_OK, array("session_id" => session_id(),
|
||||
"config" => $this->_get_config(),
|
||||
"api_level" => self::API_LEVEL));
|
||||
|
||||
return;
|
||||
} else {
|
||||
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user