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:
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user