From: Andrew Dolgov Date: Thu, 28 Mar 2013 04:46:20 +0000 (+0400) Subject: api/login: add session_destroy X-Git-Tag: 1.7.6~223 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=79bb55892baf86f05725053135f63d3e15cc99d0;p=tt-rss.git api/login: add session_destroy --- diff --git a/classes/api.php b/classes/api.php index cf8b2dcf..2b9c3a14 100644 --- a/classes/api.php +++ b/classes/api.php @@ -47,6 +47,7 @@ class API extends Handler { } function login() { + @session_destroy(); @session_start(); $login = db_escape_string($this->link, $_REQUEST["user"]);