]> git.wh0rd.org Git - tt-rss.git/commitdiff
api/login: add session_destroy
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Mar 2013 04:46:20 +0000 (08:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Mar 2013 04:46:20 +0000 (08:46 +0400)
classes/api.php

index cf8b2dcfca93d95dffe395c9d2162b0f380a737f..2b9c3a148c8620be561c5bd304571977799742c9 100644 (file)
@@ -47,6 +47,7 @@ class API extends Handler {
        }
 
        function login() {
+               @session_destroy();
                @session_start();
 
                $login = db_escape_string($this->link, $_REQUEST["user"]);