mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:15:55 +00:00
api: a few more returns in login
This commit is contained in:
@@ -92,9 +92,11 @@ class API extends Handler {
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
|
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$this->_wrap(self::STATUS_ERR, array("error" => self::E_API_DISABLED));
|
$this->_wrap(self::STATUS_ERR, array("error" => self::E_API_DISABLED));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
|
$this->_wrap(self::STATUS_ERR, array("error" => self::E_LOGIN_ERROR));
|
||||||
|
|||||||
Reference in New Issue
Block a user