1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 08:21:28 +00:00

only autostart session if login cookie exists

This commit is contained in:
Andrew Dolgov
2013-03-28 08:06:21 +04:00
parent f820f205d0
commit 5160620c8a
4 changed files with 8 additions and 3 deletions

View File

@@ -47,6 +47,8 @@ class API extends Handler {
}
function login() {
@session_start();
$login = db_escape_string($this->link, $_REQUEST["user"]);
$password = $_REQUEST["password"];
$password_base64 = base64_decode($_REQUEST["password"]);